Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tally ¶
type Tally struct {
// contains filtered or unexported fields
}
Tally is a counter structure.
func (*Tally) Dec ¶
func (t *Tally) Dec()
Dec decrements the counter by one. This operation is atomic. Note that decrement will wrap.
func (*Tally) Inc ¶
func (t *Tally) Inc()
Inc increments the counter by one. This operation is atomic.
Click to show internal directories.
Click to hide internal directories.