Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MsgTypeTangleVertex is the type of the Tangle DAG vertex. MsgTypeTangleVertex byte = iota // MsgTypeTangleBooked is the type of the Tangle DAG confirmed message. MsgTypeTangleBooked // MsgTypeTangleConfirmed is the type of the Tangle DAG confirmed message. MsgTypeTangleConfirmed // MsgTypeTangleTxGoF is the type of the Tangle DAG transaction GoF. MsgTypeTangleTxGoF // MsgTypeFutureMarkerUpdated is the type of the future marker updated message. MsgTypeFutureMarkerUpdated // MsgTypeUTXOVertex is the type of the UTXO DAG vertex. MsgTypeUTXOVertex // MsgTypeUTXOBooked is the type of the booked transaction. MsgTypeUTXOBooked // MsgTypeUTXOGoFChanged is the type of the UTXO DAG vertex confirmed message. MsgTypeUTXOGoFChanged // MsgTypeBranchVertex is the type of the branch DAG vertex. MsgTypeBranchVertex // MsgTypeBranchParentsUpdate is the type of the branch DAG vertex parents updated message. MsgTypeBranchParentsUpdate // MsgTypeBranchGoFChanged is the type of the branch DAG vertex confirmed message. MsgTypeBranchGoFChanged // MsgTypeBranchWeightChanged is the type of the branch DAG vertex weight changed message. MsgTypeBranchWeightChanged )
View Source
const PluginName = "DAGsVisualizer"
PluginName is the name of the dags visualizer plugin.
Variables ¶
View Source
var ErrForbidden = errors.New("forbidden")
ErrForbidden defines the forbidden error.
View Source
var ErrInternalError = errors.New("internal error")
ErrInternalError defines the internal error.
View Source
var ErrInvalidParameter = errors.New("invalid parameter")
ErrInvalidParameter defines the invalid parameter error.
View Source
var ErrNotFound = errors.New("not found")
ErrNotFound defines the not found error.
View Source
var Parameters = &ParametersDefinition{}
Parameters contains the configuration parameters of the dags visualizer plugin.
View Source
var ( // Plugin is the plugin instance of the dashboard plugin. Plugin *node.Plugin )
Functions ¶
This section is empty.
Types ¶
type ParametersDefinition ¶
type ParametersDefinition struct { // BindAddress defines the config flag of the dags visualizer binding address. BindAddress string `default:"0.0.0.0:8061" usage:"the bind address of the dags visualizer"` // Dev defines the config flag of the dags visualizer dev mode. Dev bool `default:"false" usage:"whether the dags visualizer runs in dev mode"` // DevBindAddress defines the config flag of the dags visualizer binding address in development mode. DevBindAddress string `default:"0.0.0.0:3000" usage:"the bind address of the dags visualizer in develop mode"` }
ParametersDefinition contains the definition of configuration parameters used by the dags visualizer plugin.
Click to show internal directories.
Click to hide internal directories.