Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func SendErrorToStats ¶
func SendErrorToStats(listener bridgeCore.Listener, err error)
Types ¶
type BridgeInfo ¶
type BridgeInfo struct { Node string `json:"node"` Operator string `json:"bridgeOperatorAddress"` Version string `json:"version"` LastError map[string]string `json:"lastError"` ProcessedBlock map[string]uint64 `json:"processedBlock"` PendingTasks int `json:"pendingTasks"` FailedTasks int `json:"failedTasks"` }
type NodeInfo ¶
type NodeInfo struct { Organization string `json:"organization,omitempty" mapstructure:"organization"` Coinbase string `json:"coinbase" mapstructure:"coinbase"` Name string `json:"name" mapstructure:"name"` Node string `json:"node" mapstructure:"node"` Port int `json:"port" mapstructure:"port"` Network string `json:"net" mapstructure:"net"` Protocol string `json:"protocol" mapstructure:"protocol"` API string `json:"api" mapstructure:"api"` Os string `json:"os" mapstructure:"os"` OsVer string `json:"os_v" mapstructure:"os_v"` Client string `json:"client" mapstructure:"client"` History bool `json:"canUpdateHistory" mapstructure:"canUpdateHistory"` Operator string `json:"operator" mapstructure:"operator"` BridgeVersion string `json:"bridgeVersion" mapstructure:"bridgeVersion"` }
Click to show internal directories.
Click to hide internal directories.