Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Release ¶
func Release(c *GrpcClient) error
Types ¶
type EtcdMember ¶
type GrpcClient ¶
type GrpcClient struct {
// contains filtered or unexported fields
}
func New ¶
func New(ip string, port string) *GrpcClient
func (*GrpcClient) GrpcClientAddmember ¶
func (c *GrpcClient) GrpcClientAddmember(name string, ip string)
func (*GrpcClient) GrpcClientListmember ¶
func (c *GrpcClient) GrpcClientListmember() ([]*EtcdMember, error)
func (*GrpcClient) GrpcClientRemovemember ¶
func (c *GrpcClient) GrpcClientRemovemember(id string) error
Click to show internal directories.
Click to hide internal directories.