rest

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: GPL-3.0 Imports: 11 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, storeName string)

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

Types

type OracleRespGetAssets

type OracleRespGetAssets struct {
	Height int64        `json:"height"`
	Result types.Assets `json:"result"`
}

type OracleRespGetPrice

type OracleRespGetPrice struct {
	Height int64              `json:"height"`
	Result types.CurrentPrice `json:"result"`
}

type OracleRespGetRawPrices

type OracleRespGetRawPrices struct {
	Height int64               `json:"height"`
	Result []types.PostedPrice `json:"result"`
}

Jump to

Keyboard shortcuts

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