Documentation ¶
Index ¶
- type MasterGClient
- func (c *MasterGClient) Proxy(ctx context.Context, r *http.Request, header http.Header) (*Response, error)
- func (c *MasterGClient) Query(ctx context.Context, model string, req *Request) (*Result, error)
- func (c *MasterGClient) ValidatePassword(ctx context.Context, userID string, password string) (*proto.UserInfo, error)
- type Request
- type Response
- type Result
- type UserToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MasterGClient ¶
type MasterGClient struct {
// contains filtered or unexported fields
}
func NewMasterGClient ¶
func NewMasterGClient(addrs []string) *MasterGClient
func (*MasterGClient) ValidatePassword ¶
type Request ¶
Click to show internal directories.
Click to hide internal directories.