Documentation ¶
Index ¶
Constants ¶
View Source
const PkgName = "auxo.net.web.filter.prometheus"
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler() web.HandlerFunc
Types ¶
type Prometheus ¶
type Prometheus struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...Option) *Prometheus
func (*Prometheus) Apply ¶
func (p *Prometheus) Apply(next web.HandlerFunc) web.HandlerFunc
Apply implements `web.Filter` interface.
Click to show internal directories.
Click to hide internal directories.