package
0.6.0
Repository: https://github.com/distributedio/titan.git
Documentation: pkg.go.dev

# Functions

New a context.
NewClientContext new client context object ,id must be uniq.
WithCancel returns a copy of parent with a new Done channel.
WithDeadline returns a copy of the parent context with the deadline adjusted to be no later than d.
WithTimeout returns WithDeadline(parent, time.Now().Add(timeout)).
WithValue returns a copy of parent in which the value associated with key is val.

# Constants

DefaultNamespace default namespce.

# Variables

Version information.
Version information.
Version information.
Version information.
Version information.
Version information.
Version information.

# Structs

ClientContext is the runtime context of a client.
Command releated context.
Context combines the client and server context.
ServerContext is the runtime context of the server.

# Type aliases

CancelFunc tells an operation to abandon its work.