Documentation
¶
Index ¶
Constants ¶
View Source
const ( FLAG_NAME_CLUSTER = "cluster" FLAG_NAME_SERVICE = "service" FLAG_NAME_SERVICE_GOSSIP = "gossip" FLAG_NAME_SERVICE_GOSSIP_RPC = "gossip_rpc" )
Variables ¶
This section is empty.
Functions ¶
func AddClusterFlags ¶
func JoinConsulPeers ¶ added in v0.0.64
Types ¶
type Service ¶
type Service interface { Serve(port int) net.Listener Shutdown() JoinServiceLayer(string, *zap.Logger, cluster.ServiceConfig, cluster.ServiceConfig, cluster.DiscoveryLayer) Health() string }
Click to show internal directories.
Click to hide internal directories.