Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoCommunication = errors.New("no communication pathways for clients")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DataDir string // where to store raft data. BindAddr string // serf addr. RPCPort int // port for raft and client connections StartJoinAddrs []string // addresses to join to Bootstrap bool // should bootstrap cluster? NodeName string // raft server id // Enable different communications protocols for clients EnableHTTP bool EnableGRPC bool ServerTLS *tls.Config PeerTLS *tls.Config }
Config handles all of the customizable values for Service.
Click to show internal directories.
Click to hide internal directories.