Documentation
¶
Index ¶
- type Exporter
- type NilExporter
- func (n *NilExporter) ConsumeSeconds(d time.Duration, service string, name string)
- func (n *NilExporter) DecConnection(name string)
- func (n *NilExporter) DecConsumer(service string, name string)
- func (n *NilExporter) Handle(ctx *fasthttp.RequestCtx)
- func (n *NilExporter) IncConnection(name string)
- func (n *NilExporter) IncConsumeError(service string, name string)
- func (n *NilExporter) IncConsumer(service string, name string)
- func (n *NilExporter) IncError(service string)
- func (n *NilExporter) IncSendError(service string, name string)
- func (n *NilExporter) SendSeconds(d time.Duration, service string, name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter interface { Handle(ctx *fasthttp.RequestCtx) IncSendError(string, string) IncConsumeError(string, string) IncError(string) IncConsumer(string, string) DecConsumer(string, string) IncConnection(string) DecConnection(string) SendSeconds(time.Duration, string, string) ConsumeSeconds(time.Duration, string, string) }
Exporter interface
func CreateExporter ¶
CreateExporter factory method
type NilExporter ¶
type NilExporter struct { }
NilExporter .
func (*NilExporter) ConsumeSeconds ¶
func (n *NilExporter) ConsumeSeconds(d time.Duration, service string, name string)
ConsumeSeconds .
func (*NilExporter) DecConnection ¶
func (n *NilExporter) DecConnection(name string)
DecConnection .
func (*NilExporter) DecConsumer ¶
func (n *NilExporter) DecConsumer(service string, name string)
DecConsumer .
func (*NilExporter) IncConnection ¶
func (n *NilExporter) IncConnection(name string)
IncConnection .
func (*NilExporter) IncConsumeError ¶
func (n *NilExporter) IncConsumeError(service string, name string)
IncConsumeError .
func (*NilExporter) IncConsumer ¶
func (n *NilExporter) IncConsumer(service string, name string)
IncConsumer .
func (*NilExporter) IncSendError ¶
func (n *NilExporter) IncSendError(service string, name string)
IncSendError .
func (*NilExporter) SendSeconds ¶
func (n *NilExporter) SendSeconds(d time.Duration, service string, name string)
SendSeconds .
Click to show internal directories.
Click to hide internal directories.