Documentation
¶
Index ¶
- type Service
- func (s Service) GetRoutes() []req.RouteHandler
- func (s Service) IsAuthorized(req http.Request, token *auth.Token) (bool, error)
- func (s Service) Metadata() interface{}
- func (s Service) Name() string
- func (s Service) ParseRequestAuth(r http.Request) (*auth.Token, error)
- func (s Service) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
func NewService ¶
func NewService(authService service.AuthService) Service
func (Service) GetRoutes ¶
func (s Service) GetRoutes() []req.RouteHandler
func (Service) IsAuthorized ¶
func (Service) ParseRequestAuth ¶
Click to show internal directories.
Click to hide internal directories.