account

package
v1.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

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

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"`
}

func (*UpdatePasswordByAccountID) Output

func (r *UpdatePasswordByAccountID) Output(ctx context.Context) (interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL