Documentation ¶
Index ¶
- type UserAgent
- func (u *UserAgent) NewGRPCClient(conn *grpc.ClientConn) service.Service
- func (u *UserAgent) RequestLogin(_ context.Context, request interface{}) (interface{}, error)
- func (u *UserAgent) ResponseLogin(_ context.Context, response interface{}) (interface{}, error)
- func (u *UserAgent) UserAgentClient() (service.Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserAgent ¶
type UserAgent struct {
// contains filtered or unexported fields
}
UserAgent etcd用户代理
func NewUserAgentClient ¶
NewUserAgentClient 创建用户代理
func (*UserAgent) NewGRPCClient ¶
func (u *UserAgent) NewGRPCClient(conn *grpc.ClientConn) service.Service
func (*UserAgent) RequestLogin ¶
func (*UserAgent) ResponseLogin ¶
Click to show internal directories.
Click to hide internal directories.