Documentation
¶
Index ¶
- type Bool
- type Duration
- func (x *Duration) Add(delta time.Duration) time.Duration
- func (x *Duration) CompareAndSwap(old, new time.Duration) bool
- func (x *Duration) Load() time.Duration
- func (x *Duration) MarshalJSON() ([]byte, error)
- func (x *Duration) Store(val time.Duration)
- func (x *Duration) Swap(new time.Duration) time.Duration
- type Float32
- type Float64
- type Int32
- type Int64
- type Pointer
- type String
- type Time
- type Uint32
- type Uint64
- type Uintptr
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct {
// contains filtered or unexported fields
}
func (*Bool) CompareAndSwap ¶
CompareAndSwap wrapper for atomic.CompareAndSwapUint32.
func (*Bool) MarshalJSON ¶ added in v1.1.2
type Duration ¶
type Duration struct {
// contains filtered or unexported fields
}
func (*Duration) CompareAndSwap ¶
CompareAndSwap wrapper for atomic.CompareAndSwapInt64.
func (*Duration) MarshalJSON ¶ added in v1.1.2
type Float32 ¶
type Float32 struct {
// contains filtered or unexported fields
}
func (*Float32) CompareAndSwap ¶
CompareAndSwap wrapper for atomic.CompareAndSwapUint32.
func (*Float32) MarshalJSON ¶ added in v1.1.2
type Float64 ¶
type Float64 struct {
// contains filtered or unexported fields
}
func (*Float64) CompareAndSwap ¶
CompareAndSwap wrapper for atomic.CompareAndSwapUint64.
func (*Float64) MarshalJSON ¶ added in v1.1.2
type Int32 ¶
type Int32 struct {
// contains filtered or unexported fields
}
func (*Int32) CompareAndSwap ¶
CompareAndSwap wrapper for atomic.CompareAndSwapInt32.
func (*Int32) MarshalJSON ¶ added in v1.1.2
type Int64 ¶
type Int64 struct {
// contains filtered or unexported fields
}
func (*Int64) CompareAndSwap ¶
CompareAndSwap wrapper for atomic.CompareAndSwapInt64.
func (*Int64) MarshalJSON ¶ added in v1.1.2
type Pointer ¶ added in v1.1.2
type Pointer struct {
// contains filtered or unexported fields
}
func (*Pointer) CompareAndSwap ¶ added in v1.1.2
CompareAndSwap wrapper for atomic.CompareAndSwapPointer.
type String ¶ added in v1.1.2
type String struct {
// contains filtered or unexported fields
}
func (*String) MarshalJSON ¶ added in v1.1.2
type Time ¶
type Time struct {
// contains filtered or unexported fields
}
func (*Time) MarshalJSON ¶ added in v1.1.2
type Uint32 ¶
type Uint32 struct {
// contains filtered or unexported fields
}
func (*Uint32) CompareAndSwap ¶
CompareAndSwap wrapper for atomic.CompareAndSwapUint32.
func (*Uint32) MarshalJSON ¶ added in v1.1.2
type Uint64 ¶
type Uint64 struct {
// contains filtered or unexported fields
}
func (*Uint64) CompareAndSwap ¶
CompareAndSwap wrapper for atomic.CompareAndSwapUint64.
func (*Uint64) MarshalJSON ¶ added in v1.1.2
Click to show internal directories.
Click to hide internal directories.