Versions in this module Expand all Collapse all v1 v1.0.2 Nov 1, 2023 Changes in this version + type EtcdValue struct + Grpc string + Http string + Ip string + type XjfEtcd struct + func NewXjfEtcd(endPoints []string) *XjfEtcd + func (c *XjfEtcd) DiscoverServer(ctx context.Context, key string) error + func (c *XjfEtcd) GrpcCall(ctx context.Context, key string) (*grpc.ClientConn, error) + func (c *XjfEtcd) HttpCall(ctx context.Context, key string) (*http.Client, error) + func (c *XjfEtcd) RegisterKeepAlive(ctx context.Context, key string, value string, id clientv3.LeaseID) error + func (c *XjfEtcd) RegisterServer(ctx context.Context, key string, value *EtcdValue) error + func (c *XjfEtcd) WatchServer(ctx context.Context, key string) v1.0.1 Oct 31, 2023