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) error
GetUsersAndMessage(ds connection.DataSender, req []byte) (users []types.User, msg []byte, err error)
RemoveUser(ds connection.DataSender, userID uuid.UUID) (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.