Documentation ¶
Index ¶
- func AddNodeToDB(db *sqlx.DB, nodeConnectionDetails ConnectionDetails) error
- func GetNodeIdByGRPC(db *sqlx.DB, nodeConnectionDetails ConnectionDetails) (int, error)
- func RegisterSettingRoutes(r *gin.RouterGroup, db *sqlx.DB, restartLNDSub func() error)
- func RegisterUnauthenticatedRoutes(r *gin.RouterGroup, db *sqlx.DB)
- func UpdateNodeFiles(db *sqlx.DB, nodeConnectionDetails ConnectionDetails) error
- type ConnectionDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNodeToDB ¶ added in v0.8.6
func AddNodeToDB(db *sqlx.DB, nodeConnectionDetails ConnectionDetails) error
func GetNodeIdByGRPC ¶ added in v0.8.6
func GetNodeIdByGRPC(db *sqlx.DB, nodeConnectionDetails ConnectionDetails) (int, error)
func RegisterSettingRoutes ¶
func RegisterSettingRoutes(r *gin.RouterGroup, db *sqlx.DB, restartLNDSub func() error)
func RegisterUnauthenticatedRoutes ¶ added in v0.7.0
func RegisterUnauthenticatedRoutes(r *gin.RouterGroup, db *sqlx.DB)
func UpdateNodeFiles ¶ added in v0.8.6
func UpdateNodeFiles(db *sqlx.DB, nodeConnectionDetails ConnectionDetails) error
Types ¶
type ConnectionDetails ¶ added in v0.7.3
type ConnectionDetails struct { LocalNodeId int GRPCAddress string TLSFileBytes []byte MacaroonFileBytes []byte }
func GetConnectionDetails ¶ added in v0.4.0
func GetConnectionDetails(db *sqlx.DB) ([]ConnectionDetails, error)
Click to show internal directories.
Click to hide internal directories.