utils

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 GetMacaroonFromString

func GetMacaroonFromString(macaroonString string) (*macaroon.Macaroon, error)

func GetPreimageFromString

func GetPreimageFromString(preimageString string) (lntypes.Preimage, error)

func GetRootKey

func GetRootKey() []byte

func IsBase64

func IsBase64(str string) bool

func IsHex

func IsHex(str string) bool

func ParseLnAddress

func ParseLnAddress(address string) (string, string, error)

func ParseLsatHeader

func ParseLsatHeader(authField string) (*macaroon.Macaroon, lntypes.Preimage, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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