Added chat microservice, removed air

This commit is contained in:
2022-10-20 18:45:58 +02:00
parent bdd1a655d4
commit bff6cdd434
24 changed files with 424 additions and 159 deletions

View File

@ -0,0 +1,11 @@
package service
import (
"net/http"
"twitch-clone/chat-service/models"
)
type ChatService interface {
Subscribe(http.ResponseWriter, *http.Request) error
Publish(string, *models.ChatMessage) error
}