rest

package
v0.28.1-chorus Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: Apache-2.0 Imports: 8 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, kb keys.Keybase)

RegisterRoutes - Central function to define routes that get registered by the main application

Types

type SetWithdrawAddressReq

type SetWithdrawAddressReq struct {
	BaseReq      utils.BaseReq `json:"base_req"`
	WithdrawAddr string        `json:"withdraw_addr"` // bech32 Address of the account to withdraw to
}

type WithdrawDelegatorReq

type WithdrawDelegatorReq struct {
	BaseReq           utils.BaseReq `json:"base_req"`
	OnlyFromValidator string        `json:"only_from_validator"`
}

type WithdrawValidatorReq

type WithdrawValidatorReq struct {
	BaseReq utils.BaseReq `json:"base_req"`
}

Jump to

Keyboard shortcuts

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