Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageService ¶
type MessageService struct {
// contains filtered or unexported fields
}
func NewMesageService ¶
func NewMesageService(db *pgxpool.Pool) MessageService
func (MessageService) AddMessage ¶
func (ms MessageService) AddMessage(id string) error
func (MessageService) GetMessages ¶
func (ms MessageService) GetMessages(id string) (int, error)
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService(db *pgxpool.Pool) UserService
func (UserService) ChangeUsername ¶
func (us UserService) ChangeUsername(id string, username string) error
func (UserService) LevelUp ¶
func (us UserService) LevelUp(id string) error
func (UserService) UpdateRole ¶
func (us UserService) UpdateRole(id string) error
Click to show internal directories.
Click to hide internal directories.