package
0.3.8-beta
Repository: https://github.com/lightninglabs/aperture.git
Documentation: pkg.go.dev

# Functions

NewLNCChallenger creates a new challenger that uses the given LNC session to connect to an lnd backend to create payment challenges.
NewLndChallenger creates a new challenger that uses the given connection to an lnd backend to create payment challenges.
UseLogger uses a specified Logger to output package logging info.

# Constants

Subsystem defines the sub system name of this package.

# Structs

LNCChallenger is a challenger that uses LNC to connect to an lnd backend to create new L402 payment challenges.
LndChallenger is a challenger that uses an lnd backend to create new L402 payment challenges.

# Interfaces

Challenger is an interface that combines the mint.Challenger and the auth.InvoiceChecker interfaces.
InvoiceClient is an interface that only implements part of a full lnd client, namely the part around the invoices we need for the challenger to work.

# Type aliases

InvoiceRequestGenerator is a function type that returns a new request for the lnrpc.AddInvoice call.