macaroon

package
v0.0.0-...-eb10282 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMacaroonAsString

func GetMacaroonAsString(paymentHash lntypes.Hash, caveats []caveat.Caveat, rootKey []byte) (string, error)

Types

type MacaroonIdentifier

type MacaroonIdentifier struct {
	Version     uint16
	PaymentHash lntypes.Hash
	TokenId     [32]byte
}

func GetMacIdFromMacaroon

func GetMacIdFromMacaroon(mac *macaroon.Macaroon) (*MacaroonIdentifier, error)

Jump to

Keyboard shortcuts

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