Documentation ¶
Index ¶
Constants ¶
View Source
const (
Schema = "etcd-endpoints"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdManualResolver ¶
EtcdManualResolver is a Resolver (and resolver.Builder) that can be updated using SetEndpoints.
func New ¶
func New(endpoints ...string) *EtcdManualResolver
func (*EtcdManualResolver) Build ¶
func (r *EtcdManualResolver) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions) (resolver.Resolver, error)
Build returns itself for Resolver, because it's both a builder and a resolver.
func (*EtcdManualResolver) SetEndpoints ¶
func (r *EtcdManualResolver) SetEndpoints(endpoints []string)
Click to show internal directories.
Click to hide internal directories.