Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configurer ¶
type Configurer interface {
// Get used to get config section
Get(name string) any
// Has checks if config section exists.
Has(name string) bool
}
Configurer interface used to parse yaml configuration. Implementation will be provided by the RoadRunner automatically via Init method.
type Plugin ¶
type Plugin struct{}
func (*Plugin) Init ¶
func (p *Plugin) Init(cfg Configurer, log *zap.Logger) error
Init allows the user to set up an efficient esi processor.
func (*Plugin) Middleware ¶
Middleware is the request entrypoint to catch the response and process the esi tags if present.
Click to show internal directories.
Click to hide internal directories.