Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Statistics ¶
type Statistics struct {
// contains filtered or unexported fields
}
Statistics is the worker to persist the request statistics
func NewStatistics ¶
func NewStatistics(loggingPeriod time.Duration) *Statistics
NewStatistics creates a new statistics structure and launches its worker routine
func (*Statistics) PlusOne ¶
func (sw *Statistics) PlusOne()
PlusOne is used to add one to the counter
Click to show internal directories.
Click to hide internal directories.