server

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL