spa

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0, BSD-2-Clause Imports: 32 Imported by: 0

Documentation

Overview

You can use the "packr clean" command to clean up this, and any other packr generated files.

Index

Constants

View Source
const (
	CFG_BIND_ADDRESS        = "dashboard.bindAddress"
	CFG_DEV                 = "dashboard.dev"
	CFG_BASIC_AUTH_ENABLED  = "dashboard.basic_auth.enabled"
	CFG_BASIC_AUTH_USERNAME = "dashboard.basic_auth.username"
	CFG_BASIC_AUTH_PASSWORD = "dashboard.basic_auth.password"
)
View Source
const (
	MsgTypeNodeStatus byte = iota
	MsgTypeTPSMetric
	MsgTypeTx
	MsgTypeNeighborMetric
)

Variables

View Source
var ErrForbidden = errors.New("forbidden")
View Source
var ErrInternalError = errors.New("internal error")
View Source
var ErrInvalidParameter = errors.New("invalid parameter")
View Source
var ErrNotFound = errors.New("not found")
View Source
var (
	PLUGIN = node.NewPlugin("SPA", node.Enabled, configure, run)
)

Functions

This section is empty.

Types

type ExplorerAdress

type ExplorerAdress struct {
	Txs []*ExplorerTx `json:"txs"`
}

type ExplorerTx

type ExplorerTx struct {
	Hash                     Hash   `json:"hash"`
	SignatureMessageFragment Trytes `json:"signature_message_fragment"`
	Address                  Hash   `json:"address"`
	Value                    int64  `json:"value"`
	Timestamp                uint   `json:"timestamp"`
	Trunk                    Hash   `json:"trunk"`
	Branch                   Hash   `json:"branch"`
	Solid                    bool   `json:"solid"`
	MWM                      int    `json:"mwm"`
}

type SearchResult

type SearchResult struct {
	Tx        *ExplorerTx     `json:"tx"`
	Address   *ExplorerAdress `json:"address"`
	Milestone *ExplorerTx     `json:"milestone"`
}

Directories

Path Synopsis
You can use the "packr2 clean" command to clean up this, and any other packr generated files.
You can use the "packr2 clean" command to clean up this, and any other packr generated files.

Jump to

Keyboard shortcuts

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