Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *etcdv3.Config ReadTimeout time.Duration ConfigKey string Prefix string ServiceTTL time.Duration // contains filtered or unexported fields }
Config ...
func (*Config) MustSingleton ¶ added in v0.6.1
type Update ¶ added in v0.7.1
type Update struct { // Op indicates the operation of the update. Op Operation // Addr is the updated address. It is empty string if there is no address update. Addr string // Metadata is the updated metadata. It is nil if there is no metadata update. // Metadata is not required for a custom naming implementation. Metadata interface{} }
Update defines a name resolution update. Notice that it is not valid having both empty string Addr and nil Metadata in an Update.
Click to show internal directories.
Click to hide internal directories.