rest

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryContractCallRequestHandlerFn

func QueryContractCallRequestHandlerFn(ctx context.CLIContext) http.HandlerFunc

func RegisterRoutes

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

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

Types

type ContractCallReq

type ContractCallReq struct {
	From     string                 `json:"from"`
	Signers  []string               `json:"signers"`
	CallInfo types.ContractCallInfo `json:"call_info"`
}

Jump to

Keyboard shortcuts

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