Documentation ¶
Index ¶
- type EtcdValue
- type 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XjfEtcd ¶
type XjfEtcd struct {
// contains filtered or unexported fields
}
func NewXjfEtcd ¶
func (*XjfEtcd) DiscoverServer ¶
func (*XjfEtcd) RegisterKeepAlive ¶
func (*XjfEtcd) RegisterServer ¶
Click to show internal directories.
Click to hide internal directories.