rest

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec)

Types

type AliasUpdateReq

type AliasUpdateReq struct {
	BaseReq   rest.BaseReq `json:"base_req"`
	Alias     string       `json:"alias"`
	IsAdd     bool         `json:"is_add"`
	AsDefault bool         `json:"as_default"`
}

func (*AliasUpdateReq) GetBaseReq

func (req *AliasUpdateReq) GetBaseReq() *rest.BaseReq

func (*AliasUpdateReq) GetMsg

func (req *AliasUpdateReq) GetMsg(r *http.Request, sender sdk.AccAddress) (sdk.Msg, error)

func (*AliasUpdateReq) New

func (req *AliasUpdateReq) New() restutil.RestReq

Jump to

Keyboard shortcuts

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