README ¶ prometheus RRv2 prometheus metrics HTTP middleware Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Plugin func (p *Plugin) Init() error func (p *Plugin) MetricsCollector() []prometheus.Collector func (p *Plugin) Middleware(next http.Handler) http.Handler func (p *Plugin) Name() string func (p *Plugin) Serve() chan error func (p *Plugin) Stop() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Plugin ¶ type Plugin struct { // contains filtered or unexported fields } func (*Plugin) Init ¶ func (p *Plugin) Init() error func (*Plugin) MetricsCollector ¶ func (p *Plugin) MetricsCollector() []prometheus.Collector func (*Plugin) Middleware ¶ func (p *Plugin) Middleware(next http.Handler) http.Handler func (*Plugin) Name ¶ func (p *Plugin) Name() string func (*Plugin) Serve ¶ func (p *Plugin) Serve() chan error func (*Plugin) Stop ¶ func (p *Plugin) Stop() error Source Files ¶ View all Source files plugin.go writer.go Click to show internal directories. Click to hide internal directories.