Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryServiceType ¶
type DiscoveryServiceType int32
DiscoveryServiceType x ENUM( Eureka Consul Memory Kubernetes Etcd Gossip NATS Zookeeper Unknown )
const ( // DiscoveryServiceTypeEureka is a DiscoveryServiceType of type Eureka DiscoveryServiceTypeEureka DiscoveryServiceType = iota // DiscoveryServiceTypeConsul is a DiscoveryServiceType of type Consul DiscoveryServiceTypeConsul // DiscoveryServiceTypeMemory is a DiscoveryServiceType of type Memory DiscoveryServiceTypeMemory // DiscoveryServiceTypeKubernetes is a DiscoveryServiceType of type Kubernetes DiscoveryServiceTypeKubernetes // DiscoveryServiceTypeEtcd is a DiscoveryServiceType of type Etcd DiscoveryServiceTypeEtcd // DiscoveryServiceTypeGossip is a DiscoveryServiceType of type Gossip DiscoveryServiceTypeGossip // DiscoveryServiceTypeNATS is a DiscoveryServiceType of type NATS DiscoveryServiceTypeNATS // DiscoveryServiceTypeZookeeper is a DiscoveryServiceType of type Zookeeper DiscoveryServiceTypeZookeeper // DiscoveryServiceTypeUnknown is a DiscoveryServiceType of type Unknown DiscoveryServiceTypeUnknown )
func ParseDiscoveryServiceType ¶
func ParseDiscoveryServiceType(name string) (DiscoveryServiceType, *errorAVA.Error)
ParseDiscoveryServiceType attempts to convert a string to a DiscoveryServiceType
func (DiscoveryServiceType) MarshalText ¶
func (x DiscoveryServiceType) MarshalText() ([]byte, *errorAVA.Error)
MarshalText implements the text marshaller method
func (DiscoveryServiceType) String ¶
func (x DiscoveryServiceType) String() string
String implements the Stringer interface.
func (DiscoveryServiceType) UnmarshalText ¶
func (x DiscoveryServiceType) UnmarshalText(text []byte) (DiscoveryServiceType, *errorAVA.Error)
UnmarshalText implements the text unmarshaller method
Click to show internal directories.
Click to hide internal directories.