Documentation
¶
Index ¶
- type Bool
- type Duration
- func (v *Duration) Add(delta time.Duration) time.Duration
- func (v *Duration) CAS(old, newValue time.Duration) bool
- func (v *Duration) CompareAndSwap(old, newValue time.Duration) bool
- func (v *Duration) Load() time.Duration
- func (v *Duration) MarshalJSON() ([]byte, error)
- func (v *Duration) Store(value time.Duration)
- func (v *Duration) Sub(delta time.Duration) time.Duration
- func (v *Duration) Swap(value time.Duration) time.Duration
- func (v *Duration) UnmarshalJSON(data []byte) error
- type Float64
- func (v *Float64) Add(delta float64) float64
- func (v *Float64) CAS(old, newValue float64) bool
- func (v *Float64) CompareAndSwap(old, newValue float64) bool
- func (v *Float64) Load() float64
- func (v *Float64) MarshalJSON() ([]byte, error)
- func (v *Float64) Store(value float64)
- func (v *Float64) Sub(delta float64) float64
- func (v *Float64) Swap(value float64) float64
- func (v *Float64) UnmarshalJSON(data []byte) error
- type Int32
- type Int64
- type Pointer
- type Time
- type Uint32
- type Uint64
- type UnsafePointer
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
type Duration struct {
// contains filtered or unexported fields
}
func NewDuration ¶
func (*Duration) CompareAndSwap ¶
func (*Duration) MarshalJSON ¶
func (*Duration) UnmarshalJSON ¶
type Float64 ¶
type Float64 struct {
// contains filtered or unexported fields
}
func NewFloat64 ¶
func (*Float64) CompareAndSwap ¶
func (*Float64) MarshalJSON ¶
func (*Float64) UnmarshalJSON ¶
type Time ¶
type Time struct {
// contains filtered or unexported fields
}
func (*Time) MarshalJSON ¶
func (*Time) UnmarshalJSON ¶
type UnsafePointer ¶
type UnsafePointer struct {
// contains filtered or unexported fields
}
func NewUnsafePointer ¶
func NewUnsafePointer(value unsafe.Pointer) *UnsafePointer
func (*UnsafePointer) CompareAndSwap ¶
func (v *UnsafePointer) CompareAndSwap(old, newValue unsafe.Pointer) bool
func (*UnsafePointer) Load ¶
func (v *UnsafePointer) Load() unsafe.Pointer
func (*UnsafePointer) Store ¶
func (v *UnsafePointer) Store(value unsafe.Pointer)
Click to show internal directories.
Click to hide internal directories.