authorized

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 5 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 {
	// contains filtered or unexported fields
}

func NewService

func NewService(service service.Service, requirement filter.Requirement) Service

func (Service) GetRoutes

func (s Service) GetRoutes() []req.RouteHandler

func (Service) IsAuthorized

func (s Service) IsAuthorized(req http.Request, token *auth.Token) (bool, error)

func (Service) Metadata

func (s Service) Metadata() interface{}

func (Service) Name

func (s Service) Name() string

func (Service) Type

func (s Service) Type() string

func (Service) Version

func (s Service) Version() string

Jump to

Keyboard shortcuts

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