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) VerifyAuthorization(_ http.Request, _ *auth.Token) error
- type ServiceFactory
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 (Service) GetRoutes ¶
func (s Service) GetRoutes() []req.RouteHandler
func (Service) ParseRequestAuth ¶
func (Service) SupportsRequestAuth ¶
type ServiceFactory ¶
type ServiceFactory struct {
svc.ServiceType
}
func NewServiceFactory ¶
func NewServiceFactory() ServiceFactory
Click to show internal directories.
Click to hide internal directories.