Documentation ¶
Index ¶
- Variables
- func Configure(l *goapp.Lifecycle, conf *config.Config)
- func GetHook(conf map[string]interface{}) (log.Hook, error)
- func GetLoggerFromContext(c web.C) *log.Entry
- func GetMiddleware(logger *log.Logger) func(c *web.C, h http.Handler) http.Handler
- func GetValue(name string, conf map[string]interface{}, d ...interface{}) interface{}
- type DispatchHook
- type MockedHook
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMissingHookName = errors.New("missing hook name") ErrNoHookHandler = errors.New("No hook handler") )
Functions ¶
func GetMiddleware ¶
Types ¶
type DispatchHook ¶
func (*DispatchHook) Levels ¶
func (d *DispatchHook) Levels() []log.Level
type MockedHook ¶
func (*MockedHook) Levels ¶
func (m *MockedHook) Levels() []log.Level
Click to show internal directories.
Click to hide internal directories.