Documentation ¶
Index ¶
Constants ¶
View Source
const ( AggregateFactoryID = -29 // CurrentClientVersion should be manually set CurrentClientVersion = "1.4.2" )
View Source
const ( DefaultConnectionTimeoutWithoutFailover = time.Duration(1<<63 - 1) DefaultConnectionTimeoutWithFailover = 120 * time.Second )
Variables ¶
View Source
var ClientType = "GOO"
ClientType is used in the Management Center
View Source
var ClientVersion = CurrentClientVersion
ClientVersion is the effective client version. It is sent to the member during authentication.
Functions ¶
Types ¶
type AtomicValue ¶ added in v1.3.0
type AtomicValue struct {
// contains filtered or unexported fields
}
AtomicValue keeps the pointer to an interface{}. Storing and loading values is concurrency-safe.
func (*AtomicValue) Load ¶ added in v1.3.0
func (a *AtomicValue) Load() interface{}
Load loads the given interface{} pointer and returns an interface{}.
func (*AtomicValue) Store ¶ added in v1.3.0
func (a *AtomicValue) Store(v *interface{})
Store stores the given interface{} pointer.
Click to show internal directories.
Click to hide internal directories.