Documentation ¶
Index ¶
- type Frontend
- func (f *Frontend) AfterMiddlewares() []kit.AfterRequestMiddleware
- func (f *Frontend) BeforeMiddlewares() []kit.RequestHandler
- func (f *Frontend) Debug() bool
- func (f *Frontend) Init() apperror.Error
- func (f *Frontend) Logger() *logrus.Logger
- func (Frontend) Name() string
- func (f *Frontend) RegisterAfterMiddleware(middleware kit.AfterRequestMiddleware)
- func (f *Frontend) RegisterBeforeMiddleware(handler kit.RequestHandler)
- func (f *Frontend) Registry() kit.Registry
- func (f *Frontend) SetAfterMiddlewares(middlewares []kit.AfterRequestMiddleware)
- func (f *Frontend) SetBeforeMiddlewares(middlewares []kit.RequestHandler)
- func (f *Frontend) SetDebug(x bool)
- func (f *Frontend) SetRegistry(x kit.Registry)
- func (f *Frontend) Shutdown() (shutdownChan chan bool, err apperror.Error)
- func (f *Frontend) Start() apperror.Error
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 (*Frontend) AfterMiddlewares ¶
func (f *Frontend) AfterMiddlewares() []kit.AfterRequestMiddleware
func (*Frontend) BeforeMiddlewares ¶
func (f *Frontend) BeforeMiddlewares() []kit.RequestHandler
func (*Frontend) RegisterAfterMiddleware ¶
func (f *Frontend) RegisterAfterMiddleware(middleware kit.AfterRequestMiddleware)
func (*Frontend) RegisterBeforeMiddleware ¶
func (f *Frontend) RegisterBeforeMiddleware(handler kit.RequestHandler)
func (*Frontend) SetAfterMiddlewares ¶
func (f *Frontend) SetAfterMiddlewares(middlewares []kit.AfterRequestMiddleware)
func (*Frontend) SetBeforeMiddlewares ¶
func (f *Frontend) SetBeforeMiddlewares(middlewares []kit.RequestHandler)
func (*Frontend) SetRegistry ¶
Click to show internal directories.
Click to hide internal directories.