Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
func NewAuthService ¶
func NewAuthService(repository authRepository) *AuthService
type ChatService ¶
type ChatService struct {
// contains filtered or unexported fields
}
func NewChatService ¶
func NewChatService(repository chatRepository) *ChatService
func (ChatService) SetUser ¶
func (s ChatService) SetUser(user models.User)
func (ChatService) Upgrader ¶
func (s ChatService) Upgrader() websocket.Upgrader
func (ChatService) UsersInChat ¶
func (s ChatService) UsersInChat() map[models.UserId]models.User
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(repository userRepository) *UserService
func (*UserService) CreateUser ¶
CreateUser creates a new user and adds it to users
Click to show internal directories.
Click to hide internal directories.