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"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.