Versions in this module Expand all Collapse all v0 v0.1.3 Mar 22, 2016 v0.1.0 Mar 22, 2016 Changes in this version + type Handlers map[string]context.HandlerFunc + type Layer struct + DefaultHandler context.HandlerFunc + Handlers Handlers + func New() *Layer + func (p *Layer) Disable() + func (p *Layer) Disabled() bool + func (p *Layer) Enable() + func (p *Layer) Exec(phase string, ctx *context.Context, h context.Handler) + func (p *Layer) Remove() + func (p *Layer) Removed() bool + func (p *Layer) SetHandler(phase string, handler context.HandlerFunc) + func (p *Layer) SetHandlers(handlers Handlers) + type Plugin interface + Disable func() + Disabled func() bool + Enable func() + Exec func(string, *context.Context, context.Handler) + Remove func() + Removed func() bool + func NewErrorPlugin(handler context.HandlerFunc) Plugin + func NewPhasePlugin(phase string, handler context.HandlerFunc) Plugin + func NewRequestPlugin(handler context.HandlerFunc) Plugin + func NewResponsePlugin(handler context.HandlerFunc) Plugin Other modules containing this package gopkg.in/h2non/gentleman.v1 gopkg.in/h2non/gentleman.v2