mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
Add list-lsps snippets
This commit is contained in:
@@ -16,6 +16,14 @@ func GetLspInfo() {
|
||||
// ANCHOR_END: get-lsp-info
|
||||
}
|
||||
|
||||
func ListLsps() {
|
||||
// ANCHOR: list-lsps
|
||||
if err := sdk.ListLsps(); err != nil {
|
||||
log.Printf("%#v", err)
|
||||
}
|
||||
// ANCHOR_END: list-lsps
|
||||
}
|
||||
|
||||
func ConnectLsp() {
|
||||
// ANCHOR: connect-lsp
|
||||
lspId := "your selected lsp id"
|
||||
|
||||
Reference in New Issue
Block a user