Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Root = kit.NewRouter(httptransport.Group("/account")) RegisterRoot = kit.NewRouter(httptransport.Group("/register")) )
Functions ¶
This section is empty.
Types ¶
type CreateAccountByUsernameAndPassword ¶ added in v1.1.0
type CreateAccountByUsernameAndPassword struct { httpx.MethodPost `summary:"Create account with username and password"` account.CreateAccountByUsernameReq `in:"body"` }
func (*CreateAccountByUsernameAndPassword) Output ¶ added in v1.1.0
func (r *CreateAccountByUsernameAndPassword) Output(ctx context.Context) (interface{}, error)
func (*CreateAccountByUsernameAndPassword) Path ¶ added in v1.1.0
func (r *CreateAccountByUsernameAndPassword) Path() string
type GetOperatorAddr ¶ added in v1.1.0
type GetOperatorAddr struct { httpx.MethodGet `summary:"Get account operator by name"` AccountOperatorName string `in:"query" name:"accountOperatorName,omitempty"` // account operator name }
Deprecated use operator.ListOperator
func (*GetOperatorAddr) Output ¶ added in v1.1.0
func (r *GetOperatorAddr) Output(ctx context.Context) (interface{}, error)
func (*GetOperatorAddr) Path ¶ added in v1.1.0
func (r *GetOperatorAddr) Path() string
type UpdatePasswordByAccountID ¶
type UpdatePasswordByAccountID struct { httpx.MethodPut `summary:"Update account password"` account.UpdatePasswordReq `in:"body"` }
Click to show internal directories.
Click to hide internal directories.