Documentation ¶
Index ¶
- type Service
- func (s *Service) GetRoutes() []req.RouteHandler
- func (s *Service) Metadata() interface{}
- func (s *Service) Name() string
- func (s *Service) ParseRequestAuth(r http.Request) (*auth.Token, error)
- func (s *Service) SupportsRequestAuth(r http.Request) (bool, error)
- func (s *Service) Type() globalservice.Type
- func (s *Service) VerifyAuthorization(req http.Request, token *auth.Token) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { svc.ServiceType // contains filtered or unexported fields }
func NewService ¶
func NewService(authService service.AuthService) *Service
func (*Service) GetRoutes ¶
func (s *Service) GetRoutes() []req.RouteHandler
func (*Service) ParseRequestAuth ¶
func (*Service) SupportsRequestAuth ¶ added in v0.17.0
func (*Service) Type ¶
func (s *Service) Type() globalservice.Type
Click to show internal directories.
Click to hide internal directories.