Documentation ¶
Overview ¶
Package cluster implements a gossip-based cluster based on HashiCorp memberlist.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ClusterHost string ClusterPort int AdvertiseHost string // optional; by default, ClusterHost is used AdvertisePort int // optional; by default, ClusterPort is used APIHost string APIPort int Type string InitialPeers []string Logger log.Logger }
Config for our node in the cluster. All fields are mandatory unless otherwise noted.
Directories ¶
Path | Synopsis |
---|---|
Package httpcluster enhances a plain cluster peer with extension.Cluster behavior.
|
Package httpcluster enhances a plain cluster peer with extension.Cluster behavior. |
Click to show internal directories.
Click to hide internal directories.