rest

package
v1.6.62 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryShardStatesRequestHandlerFn

func QueryShardStatesRequestHandlerFn(cliCtx context.Context) http.HandlerFunc

func RegisterTxRoutes

func RegisterTxRoutes(cliCtx context.Context, r *mux.Router)

Types

type Actions

type Actions struct {
	Type   string `json:"types"`
	Height int64  `json:"height"`
	Name   string `json:"name"`
}

type Current

type Current struct {
	Index int    `json:"index"`
	State string `json:"state"`
}

type Lists

type Lists struct {
	Name   string `json:"name"`
	Height int64  `json:"height"`
}

type OrderBook

type OrderBook struct {
	Lists []Lists `json:"lists"`

	Current Current `json:"current"`

	Actions []Actions `json:"actions"`
}

Jump to

Keyboard shortcuts

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