server

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2017 License: MIT Imports: 10 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(name string, config svcconfig.Config, fs boshsys.FileSystem) Service

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

type ServiceFactory

type ServiceFactory struct {
	// contains filtered or unexported fields
}

func NewServiceFactory

func NewServiceFactory(fs boshsys.FileSystem) ServiceFactory

func (ServiceFactory) Create

func (f ServiceFactory) Create(name string, options map[string]interface{}) (service.Service, error)

func (ServiceFactory) Type

func (f ServiceFactory) Type() string

Jump to

Keyboard shortcuts

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