rest

package
v0.0.0-...-d0e4e46 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2019 License: GPL-3.0 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)

RegisterRoutes registers staking-related REST handlers to a router

Types

type LikeRequest

type LikeRequest struct {
	BaseReq rest.BaseReq   `json:"base_req"`
	Liker   sdk.AccAddress `json:"liker"` // in bech32
	Likee   sdk.AccAddress `json:"likee"` // in bech32
	Url     string         `json:"url"`
	Count   uint64         `json:"count"`
}

Jump to

Keyboard shortcuts

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