Documentation ¶ Index ¶ func IsClosed(c *net.TCPConn) bool type Metric func NewMetric() *Metric func (m *Metric) Len() uint64 func (m *Metric) Max() float64 func (m *Metric) Mean() float64 func (m *Metric) Min() float64 func (m *Metric) Put(d float64) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsClosed ¶ func IsClosed(c *net.TCPConn) bool Types ¶ type Metric ¶ type Metric struct { // contains filtered or unexported fields } func NewMetric ¶ func NewMetric() *Metric func (*Metric) Len ¶ func (m *Metric) Len() uint64 func (*Metric) Max ¶ func (m *Metric) Max() float64 func (*Metric) Mean ¶ func (m *Metric) Mean() float64 func (*Metric) Min ¶ func (m *Metric) Min() float64 func (*Metric) Put ¶ func (m *Metric) Put(d float64) Source Files ¶ View all Source files conn.go metric.go Click to show internal directories. Click to hide internal directories.