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 Int64
- type String
- type Uint32
- type Uint64
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
type Int64 ¶
type Int64 struct {
// contains filtered or unexported fields
}
Int64 is a wrapper for atomic operations on int64
type String ¶
type String struct {
// contains filtered or unexported fields
}
String is a wrapper for atomic operations on String
Click to show internal directories.
Click to hide internal directories.