lnd

package
v0.0.0-...-2b6d021 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoMacaroonProvided = errors.New("no macaroon data provided, provide either a hex or filepath")
)

Functions

func GRPCTransport

func GRPCTransport(opt ClientOptions) (*grpc.ClientConn, error)

func NewClient

func NewClient(opt ClientOptions) (lnrpc.LightningClient, error)

func NewRouterClient

func NewRouterClient(opt ClientOptions) (routerrpc.RouterClient, error)

Types

type ClientOptions

type ClientOptions struct {
	TLSCertPath  string
	MacaroonPath string
	MacaroonHex  string
	Host         string
}

Jump to

Keyboard shortcuts

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