Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAccountReq ¶
type CreateAccountReq struct { g.Meta `path:"/account" tags:"Account Service" method:"Post" summary:"create an account"` *model.CreateAccountInput }
CreateAccountReq is the request struct for the CreateAccount endpoint.
type CreateAccountRes ¶
type CreateAccountRes struct {
*model.CreateAccountOutput
}
CreateAccountRes is the response struct for the CreateAccount endpoint.
type ModifyAccountReq ¶
type ModifyAccountReq struct { g.Meta `path:"/account/:account/update" tags:"Account Service" method:"Post" summary:"modify an account"` *model.ModifyAccountInput }
ModifyAccountReq is the request struct for the ModifyAccount endpoint.
type ModifyAccountRes ¶
type ModifyAccountRes struct {
*model.ModifyAccountOutput
}
ModifyAccountRes is the response struct for the ModifyAccount endpoint.
type ModifyPasswordReq ¶
type ModifyPasswordReq struct { g.Meta `path:"/account/:account/password" tags:"Account Service" method:"Post" summary:"modify password"` *model.ModifyPasswordInput }
ModifyPasswordReq is the request struct for the ModifyPassword endpoint.
type ModifyPasswordRes ¶
type ModifyPasswordRes struct {
*model.ModifyPasswordOutput
}
ModifyPasswordRes is the response struct for the ModifyPassword endpoint.
Click to show internal directories.
Click to hide internal directories.