Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
GenerateToken(in *GenerateTokenRequest) (*GenerateTokenResponse, error)
}
Client is a interface to the auth API.
type GenerateTokenRequest ¶
type GenerateTokenRequest struct { Username string `json:"username"` Password string `json:"password"` }
GenerateTokenRequest is the response body of the request.
type GenerateTokenResponse ¶
GenerateTokenResponse is the response body of the request.
Click to show internal directories.
Click to hide internal directories.