type Client struct { Cluster KV Lease Watcher Auth Maintenance
conn *grpc.ClientConn
cfg Config creds grpccredentials.TransportCredentials resolver *resolver.EtcdManualResolver mu *sync.RWMutex
ctx context.Context cancel context.CancelFunc
// Username is a user name for authentication. Username string // Password is a password for authentication. Password string authTokenBundle credentials.Bundle