Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger log.Logger DataDir string NodeName string BindAddr string Tags map[string]string StartJoinAddrs []string }
Config ...
type Handler ¶
type Handler interface { Join(name string, tags map[string]string, local bool) error Leave(name string, tags map[string]string, local bool) error }
Handler ...
type Membership ¶
type Membership struct { Config // contains filtered or unexported fields }
Membership ...
Click to show internal directories.
Click to hide internal directories.