package
0.0.1-20231220073209-e0e398c0b505
Repository: https://github.com/studioteatwo/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 LSAT payment challenges.
LndChallenger is a challenger that uses an lnd backend to create new LSAT 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.