Documentation ¶ Index ¶ type Service func NewService(config svcconfig.Config, services service.Manager) Service func (s Service) GetRoutes() []req.RouteHandler func (s Service) IsAuthorized(_ http.Request, _ *auth.Token) (bool, error) func (s Service) Metadata() interface{} func (s Service) Name() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { svc.Service // contains filtered or unexported fields } func NewService ¶ func NewService(config svcconfig.Config, services service.Manager) Service @todo config leaking scope func (Service) GetRoutes ¶ func (s Service) GetRoutes() []req.RouteHandler func (Service) IsAuthorized ¶ func (s Service) IsAuthorized(_ http.Request, _ *auth.Token) (bool, error) func (Service) Metadata ¶ func (s Service) Metadata() interface{} func (Service) Name ¶ func (s Service) Name() string Source Files ¶ View all Source files service.go Directories ¶ Show internal Expand all Path Synopsis req Click to show internal directories. Click to hide internal directories.