Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterNodeRoutes ¶
func RegisterNodeRoutes(r *gin.RouterGroup, db *sqlx.DB)
Types ¶
type ConnectNodeRequest ¶
type ConnectNodeRequest struct { NodeId int `json:"nodeId"` LndAddress LndAddress `json:"lndAddress"` Perm *bool `json:"perm"` TimeOut *uint64 `json:"timeOut"` }
type LndAddress ¶
type Node ¶
type NodeEvent ¶
type NodeEvent struct { EventTime time.Time `json:"eventTime" db:"timestamp"` PublicKey string `json:"publicKey" db:"pub_key"` Alias string `json:"alias" db:"alias"` Color string `json:"color" db:"color"` NodeAddresses string `json:"nodeAddresses" db:"node_addresses"` Features string `json:"features" db:"features"` }
Click to show internal directories.
Click to hide internal directories.