Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Routes = map[myrouter.RouteKey]func(w http.ResponseWriter, r *http.Request, ps common.QueryMap){ {Path: "/api/v2/client/token", Method: "POST", NeedAuth: false}: h.Create, }
Functions ¶
This section is empty.
Types ¶
type AccessToken ¶
type CreateToken ¶
func NewCreateToken ¶
func NewCreateToken(e u.Exist, c u.CreateToken) CreateToken
type PostRequest ¶
type PostResponse ¶
type PostResponse struct { *myhttp.ResponseBase AccessToken *AccessToken `json:"access_token,omitempty"` }
func NewPostResponse ¶
func NewPostResponse(res *myhttp.ResponseBase, token d.AccessToken) *PostResponse
Click to show internal directories.
Click to hide internal directories.