rest

package
v0.0.0-...-f3ad2b4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frontend

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

func New

func New(registry kit.Registry) *Frontend

func (*Frontend) AfterMiddlewares

func (f *Frontend) AfterMiddlewares() []kit.AfterRequestMiddleware

func (*Frontend) BeforeMiddlewares

func (f *Frontend) BeforeMiddlewares() []kit.RequestHandler

func (*Frontend) Debug

func (f *Frontend) Debug() bool

func (*Frontend) Init

func (f *Frontend) Init() apperror.Error

func (*Frontend) Logger

func (f *Frontend) Logger() *logrus.Logger

func (Frontend) Name

func (Frontend) Name() string

func (*Frontend) RegisterAfterMiddleware

func (f *Frontend) RegisterAfterMiddleware(middleware kit.AfterRequestMiddleware)

func (*Frontend) RegisterBeforeMiddleware

func (f *Frontend) RegisterBeforeMiddleware(handler kit.RequestHandler)

func (*Frontend) Registry

func (f *Frontend) Registry() kit.Registry

func (*Frontend) SetAfterMiddlewares

func (f *Frontend) SetAfterMiddlewares(middlewares []kit.AfterRequestMiddleware)

func (*Frontend) SetBeforeMiddlewares

func (f *Frontend) SetBeforeMiddlewares(middlewares []kit.RequestHandler)

func (*Frontend) SetDebug

func (f *Frontend) SetDebug(x bool)

func (*Frontend) SetRegistry

func (f *Frontend) SetRegistry(x kit.Registry)

func (*Frontend) Shutdown

func (f *Frontend) Shutdown() (shutdownChan chan bool, err apperror.Error)

func (*Frontend) Start

func (f *Frontend) Start() apperror.Error

Jump to

Keyboard shortcuts

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