Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterChannelRoutes ¶
func RegisterChannelRoutes(r *gin.RouterGroup, db *sqlx.DB)
Types ¶
type Channel ¶
type Channel struct { // A database primary key. NOT a channel_id as specified in BOLT 2 ChannelDBID int `json:"channelDBId" db:"channel_db_id"` // In the c-lighting and BOLT format e.g. 505580:1917:1 ShortChannelID string `json:"shortChannelId" db:"short_channel_id"` // At the moment only used by LND. Format is "funding tx id : output id" ChannelPoint null.String `json:"channelPoint" db:"channel_point"` Alias null.String `json:"alias" db:"alias"` DestinationPubKey null.String `json:"destinationPubKey" db:"destination_pub_key"` CreatedOn time.Time `json:"createdOn" db:"created_on"` UpdateOn null.Time `json:"updatedOn" db:"updated_on"` }
Click to show internal directories.
Click to hide internal directories.