utils

package
v0.0.0-...-450cf07 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingEnv = errors.New("env variable missing")

Functions

func GetClnBackend

func GetClnBackend() (*makeinvoice.CommandoParams, error)

func GetConfig

func GetConfig() *clnurl.Config

func GetCu

func GetCu() (*clnurl.ClnUrl, error)

Types

type MakeInvoiceBackend

type MakeInvoiceBackend struct {
	// contains filtered or unexported fields
}

func (*MakeInvoiceBackend) MakeInvoice

func (b *MakeInvoiceBackend) MakeInvoice(msats int64, description string) (string, error)

Jump to

Keyboard shortcuts

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