Documentation ¶
Index ¶
- type Counter
- func (counter *Counter) Add(value int64) int64
- func (counter *Counter) Decrement() int64
- func (counter *Counter) Get() int64
- func (counter *Counter) GetUint64() uint64
- func (counter *Counter) Increment() int64
- func (counter *Counter) Reset() int64
- func (counter *Counter) Set(value int64)
- func (counter *Counter) Subtract(value int64) int64
- type Flag
- type Uint32
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
Counter is an atomic counter
Click to show internal directories.
Click to hide internal directories.