Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { Config // contains filtered or unexported fields }
Agent is meant to run on every service instance setting up and connecting all the different components, that is log, server, membership and replicator.
type Config ¶
type Config struct { ServerTLSConfig *tls.Config PeerTLSConfig *tls.Config DataDir string BindAddr string RPCPort int NodeName string StartJoinAddrs []string ACLModelFile string ACLPolicyFile string Bootstrap bool }
Config comprises the config needed to set up the components managed by the agent.
Click to show internal directories.
Click to hide internal directories.