Added chat microservice, removed air
This commit is contained in:
11
chat-service/services/chat.go
Normal file
11
chat-service/services/chat.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user