Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrTimeout is the error returned when things time out ErrTimeout = errors.New("timeout") )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a low-level metadata server client that can send and receive message.Message's. It can be used to build higher level clients, e.g., a storage.VersionedStore implementation.
type Option ¶
type Option func(*options)
Option is a client functional option for configuring the client
func WithAddress ¶
WithAddress sets the address for the client co connect to
func WithFallbackToPlainTCP ¶
func WithFallbackToPlainTCP() Option
WithFallbackToPlainTCP configures the client to fallback to plain unsecured TCP
Click to show internal directories.
Click to hide internal directories.