Documentation
¶
Index ¶
- type Service
- func (s *Service) Announcements() *announcements.Service
- func (s *Service) Drive() *drive.Service
- func (s *Service) Emoji() *emoji.Service
- func (s *Service) Federation() *federation.Service
- func (s *Service) Logs() *logs.Service
- func (s *Service) Moderation() *moderation.Service
- func (s *Service) Moderators() *moderators.Service
- func (s *Service) Queue() *queue.Service
- func (s *Service) Relays() *relays.Service
- func (s *Service) Users() *users.Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Call core.RequestHandlerFunc
}
Service is the base for all the endpoints on this service.
func NewService ¶
func NewService(requestHandler core.RequestHandlerFunc) *Service
NewService creates a new Service instance.
func (*Service) Announcements ¶ added in v1.0.4
func (s *Service) Announcements() *announcements.Service
Announcements contains all endpoints under /admin/announcements.
func (*Service) Federation ¶
func (s *Service) Federation() *federation.Service
Federation contains all endpoints for federation.
func (*Service) Moderation ¶
func (s *Service) Moderation() *moderation.Service
Moderation contains all endpoints for moderation.
func (*Service) Moderators ¶ added in v1.0.4
func (s *Service) Moderators() *moderators.Service
Moderators contains all endpoints for moderators.
Click to show internal directories.
Click to hide internal directories.