Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a helpful wrapper around consul operations needed by achgateway. This client is not goroutine safe, so concurrnet calls are not supported.
func (*Client) AcquireLock ¶ added in v0.9.1
func (*Client) ClearSession ¶ added in v0.9.3
ClearSession will attempt to wipe the existing session and create a new one. Often this is done as an attempt to resolve consul or network errors.
type SessionConfig ¶ added in v0.9.0
Click to show internal directories.
Click to hide internal directories.