response

package
v0.0.0-...-3f353b6 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2018 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	ID      int          `json:"id"`
	JSONRPC string       `json:"jsonrpc"`
	Result  models.Block `json:"result"`
}

Block represents the JSON schema of a response from a NEO node, where the expected result is all the data about a particular block.

type Integer

type Integer struct {
	ID      int    `json:"id"`
	JSONRPC string `json:"jsonrpc"`
	Result  int64  `json:"result"`
}

Integer represents the JSON schema of a response from a NEO node, where the expected result is an integer.

type String

type String struct {
	ID      int    `json:"id"`
	JSONRPC string `json:"jsonrpc"`
	Result  string `json:"result"`
}

String represents the JSON schema of a response from a NEO node, where the expected result is a string.

type StringArray

type StringArray struct {
	ID      int      `json:"id"`
	JSONRPC string   `json:"jsonrpc"`
	Result  []string `json:"result"`
}

StringArray represents the JSON schema of a response from a NEO node, where the expected result is an array of strings.

type StringMap

type StringMap struct {
	ID      int                    `json:"id"`
	JSONRPC string                 `json:"jsonrpc"`
	Result  map[string]interface{} `json:"result"`
}

StringMap represents the JSON schema of a response from a NEO node, where the expected result is an object where the keys are strings.

type Transaction

type Transaction struct {
	ID      int                `json:"id"`
	JSONRPC string             `json:"jsonrpc"`
	Result  models.Transaction `json:"result"`
}

Transaction represents the JSON schema of a response from a NEO node, where the expected result is all the data about a particular Transaction.

type Vout

type Vout struct {
	ID      int         `json:"id"`
	JSONRPC string      `json:"jsonrpc"`
	Result  models.Vout `json:"result"`
}

Vout represents the JSON schema of a response from a NEO node, where the expected result is all the data about a transaction output (vout).

Jump to

Keyboard shortcuts

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