rest

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Implements REST API calls for currency module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

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

Types

type CCRespGetCurrency

type CCRespGetCurrency struct {
	Height int64          `json:"height"`
	Result types.Currency `json:"result"`
}

type CCRespGetDestroy

type CCRespGetDestroy struct {
	Height int64         `json:"height"`
	Result types.Destroy `json:"result"`
}

type CCRespGetDestroys

type CCRespGetDestroys struct {
	Height int64          `json:"height"`
	Result types.Destroys `json:"result"`
}

type CCRespGetIssue

type CCRespGetIssue struct {
	Height int64       `json:"height"`
	Result types.Issue `json:"result"`
}

Jump to

Keyboard shortcuts

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