account

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 10 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
	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
	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
	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