Documentation ¶
Index ¶
Constants ¶
View Source
const ( DISCOVERY_TYPE_P2P = "discovery.p2p" DISCOVERY_TYPE_MUTISERVER = "discovery.mutiserver" DISCOVERY_TYPE_ETCD = "discovery.etcd" DISCOVERY_TYPE_CONSUL = "discovery.consul" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Discovery ¶
type Discovery interface {
GetDiscovery() client.ServiceDiscovery
}
func NewDisvoery ¶
func NewDisvoery(t string, c *gxyconfig.Configuration) (Discovery, error)
Click to show internal directories.
Click to hide internal directories.