settings

package
v0.8.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL