Documentation ¶
Index ¶
- func AddNodeToDB(db *sqlx.DB, implementation commons.Implementation, grpcAddress string, ...) (nodeConnectionDetails, error)
- func GetNodeIdByGRPC(db *sqlx.DB, grpcAddress string) (int, error)
- func InitializeManagedNodeCache(db *sqlx.DB) error
- func InitializeManagedSettingsCache(db *sqlx.DB) error
- func RegisterSettingRoutes(r *gin.RouterGroup, db *sqlx.DB, restartLNDSub func() error)
- func RegisterUnauthenticatedRoutes(r *gin.RouterGroup, db *sqlx.DB)
- func SetNodeConnectionDetails(db *sqlx.DB, ncd nodeConnectionDetails) (nodeConnectionDetails, error)
- func SetNodeConnectionDetailsByConnectionDetails(db *sqlx.DB, nodeId int, grpcAddress string, tlsDataBytes []byte, ...) error
- type ConnectionDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNodeToDB ¶ added in v0.8.6
func GetNodeIdByGRPC ¶ added in v0.8.6
func InitializeManagedNodeCache ¶ added in v0.10.0
func InitializeManagedSettingsCache ¶ added in v0.10.0
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 SetNodeConnectionDetails ¶ added in v0.10.0
Types ¶
type ConnectionDetails ¶ added in v0.7.3
type ConnectionDetails struct { NodeId int Name string GRPCAddress string TLSFileBytes []byte MacaroonFileBytes []byte Status commons.Status }
func GetActiveNodesConnectionDetails ¶ added in v0.8.19
func GetActiveNodesConnectionDetails(db *sqlx.DB) ([]ConnectionDetails, error)
func GetConnectionDetailsById ¶ added in v0.10.0
func GetConnectionDetailsById(db *sqlx.DB, nodeId int) (ConnectionDetails, error)
GetConnectionDetailsById will still fetch details even if node is disabled or deleted
Click to show internal directories.
Click to hide internal directories.