Documentation ¶
Index ¶
- type Register
- type Resolver
- func (rlv *Resolver) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions) (resolver.Resolver, error)
- func (rlv *Resolver) Close()
- func (rlv *Resolver) GetConn() *grpc.ClientConn
- func (rlv *Resolver) ResolveNow(rn resolver.ResolveNowOptions)
- func (rlv *Resolver) Scheme() string
- type ServiceInfo
- type ZkConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Register ¶
type Register struct {
// contains filtered or unexported fields
}
func NewRegister ¶
func (*Register) ServiceDeregister ¶
func (*Register) ServiceRegister ¶
func (r *Register) ServiceRegister(svcInfo *ServiceInfo) error
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func (*Resolver) Build ¶
func (rlv *Resolver) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOptions) (resolver.Resolver, error)
func (*Resolver) GetConn ¶
func (rlv *Resolver) GetConn() *grpc.ClientConn
func (*Resolver) ResolveNow ¶
func (rlv *Resolver) ResolveNow(rn resolver.ResolveNowOptions)
type ServiceInfo ¶
Click to show internal directories.
Click to hide internal directories.