Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "p2c"
)
Variables ¶
This section is empty.
Functions ¶
func Acceptable ¶
Types ¶
type AtomicDuration ¶
type AtomicDuration int64
func ForAtomicDuration ¶
func ForAtomicDuration(val time.Duration) *AtomicDuration
func NewAtomicDuration ¶
func NewAtomicDuration() *AtomicDuration
func (*AtomicDuration) CompareAndSwap ¶
func (d *AtomicDuration) CompareAndSwap(old, val time.Duration) bool
func (*AtomicDuration) Load ¶
func (d *AtomicDuration) Load() time.Duration
func (*AtomicDuration) Set ¶
func (d *AtomicDuration) Set(val time.Duration)
Click to show internal directories.
Click to hide internal directories.