package
2.1.0-alpha.1+incompatible
Repository: https://github.com/gitql/vitess.git
Documentation: pkg.go.dev

# Functions

NewAtomicDuration initializes a new AtomicDuration with a given value.
NewAtomicInt32 initializes a new AtomicInt32 with a given value.
NewAtomicInt64 initializes a new AtomicInt64 with a given value.
No description provided by the author
NewConsolidator creates a new Consolidator.
NewSemaphore creates a Semaphore.

# Structs

AtomicDuration is a wrapper with a simpler interface around atomic.(Add|Store|Load|CompareAndSwap)Int64 functions.
AtomicInt32 is a wrapper with a simpler interface around atomic.(Add|Store|Load|CompareAndSwap)Int32 functions.
AtomicInt64 is a wrapper with a simpler interface around atomic.(Add|Store|Load|CompareAndSwap)Int64 functions.
AtomicString gives you atomic-style APIs for string, but it's only a convenience wrapper that uses a mutex.
Cond is an alternate implementation of sync.Cond.
Consolidator consolidates duplicate queries from executing simulaneously and shares results between them.
Result is a wrapper for result of a query.
Semaphore is a counting semaphore with the option to specify a timeout.