Documentation
¶
Index ¶
- type Service
- func (s *Service) AddNewUser(publicKey, name string) (uint64, error)
- func (s *Service) GetCategories() []models.GuildCategories
- func (s *Service) GetChannels() []models.GuildChannels
- func (s *Service) GetGuildMessages(channelId, msgId int) ([]models.GuildMessages, error)
- func (s *Service) GetUser(id uint64) (models.Users, error)
- func (s *Service) GetUsers() []models.Users
- func (s *Service) InsertGuildMessage(senderId, channelId uint64, message string) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) GetCategories ¶
func (s *Service) GetCategories() []models.GuildCategories
func (*Service) GetChannels ¶
func (s *Service) GetChannels() []models.GuildChannels
func (*Service) GetGuildMessages ¶
func (s *Service) GetGuildMessages(channelId, msgId int) ([]models.GuildMessages, error)
Click to show internal directories.
Click to hide internal directories.