Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
GetConnectionsNum() (countConn int, exists bool)
CreateRoom(token string) (err error)
SetMessage(token string, req types.RequestSetMessage) (err error)
GetMessages(token string) (msg types.ResponseGetMessage, err error)
RemoveUser(userID uuid.UUID, reqToken string) (err error)
}
func NewService ¶
func NewService(token tokengenerator.TokenGenerator, storage memoryDB.IMemoryDB, logger zerolog.Logger) Service
Click to show internal directories.
Click to hide internal directories.