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) Type() string
- 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 ¶
func NewService ¶
func NewService(authService service.AuthService) Service
func (Service) GetRoutes ¶
func (s Service) GetRoutes() []req.RouteHandler
func (Service) ParseRequestAuth ¶
Click to show internal directories.
Click to hide internal directories.