Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatisticSet ¶
type Statistics ¶
type Statistics struct { Names map[string]StatisticSet Buckets []Bucket // contains filtered or unexported fields }
func New ¶
func New() *Statistics
func NewWithBuckets ¶
func NewWithBuckets(buckets []float64) *Statistics
func (*Statistics) Add ¶
func (s *Statistics) Add(name string, tagName string, tagValue string, duration float64)
func (*Statistics) Write ¶
func (s *Statistics) Write(writer *http.ResponseWriter)
func (*Statistics) WriteGob ¶
func (s *Statistics) WriteGob(writer *http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.