Documentation ¶
Index ¶
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
}
Register grpc server register to etcd and keepalive
func NewRegister ¶
NewRegister new register
func (*Register) RegisterServer ¶
RegisterServer register server to etcd
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver grpc remote server address resolver
func NewResolver ¶
NewResolver new resolver
func (*Resolver) Build ¶
func (r *Resolver) Build(target resolver.Target, cc resolver.ClientConn, opts resolver.BuildOption) (resolver.Resolver, error)
Build implement grpc Builder interface
func (*Resolver) ResolveNow ¶
func (r *Resolver) ResolveNow(option resolver.ResolveNowOption)
Click to show internal directories.
Click to hide internal directories.