Versions in this module Expand all Collapse all v0 v0.20.0 Jan 20, 2021 Changes in this version + const DialTarget + func Dial(opts ...grpc.DialOption) (*grpc.ClientConn, error) + func DialContext(ctx context.Context, opts ...grpc.DialOption) (*grpc.ClientConn, error) + func NewBuilder(opt BuilderOptions) + type BuilderOptions struct + Endpoint string + LooperTime time.Duration + Server string + Version string + type ServerRegister interface + Regist func() error + Revoke func() error + func NewDefaultServerRegister(c ServerRegisterConfig) ServerRegister + type ServerRegisterConfig struct + Interval time.Duration + Name string + RegistRetryTimes int + Service string + TTL time.Duration + Target string + Version string