benchhalo

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Cmd = &cobra.Command{
		Use:   "benchhalo",
		Short: "压测账号",
		Long:  `压测账号相关的辅助工具`,
		RunE: func(cmd *cobra.Command, args []string) error {
			return run(cmd.Context())
		},
	}
)

Cmd represents the config command

Functions

This section is empty.

Types

type NewBip44Request

type NewBip44Request struct {
	Mnemonic string `protobuf:"bytes,1,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"`
	Pass     string `protobuf:"bytes,2,opt,name=pass,proto3" json:"pass,omitempty"`
	Index    uint32 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
	Ty       int    `protobuf:"varint,6,opt,name=ty,proto3,enum=address.v1.CreateTy" json:"ty,omitempty"`
	// contains filtered or unexported fields
}

type RespJsonData

type RespJsonData struct {
	Code int        `json:"code"`
	Msg  string     `json:"message"`
	Data RespLoginX `json:"data"`
}

type RespLoginX

type RespLoginX struct {
	Username    string `json:"username"`
	AccessToken string `json:"access_token"`
	TokenType   string `json:"token_type"`
	ExpiresIn   int    `json:"expires_in"`
	Email       string `json:"email"`
	UserId      string `json:"user_id"`
	Header      string `json:"header"`
	Salt        string `json:"salt"`
}

type WalletLoginReq

type WalletLoginReq struct {
	Address string `json:"address" binding:"required"`
	ChainId int64  `json:"chain_id" binding:"required"`
	Sign    string `json:"sign" binding:"required"`
	Wallet  string `json:"wallet"`
}

Jump to

Keyboard shortcuts

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