lightning

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvoice

func IsInvoice(message string) bool

IsInvoice is used to check if a string matches lnbc invoide pattern. todo -- probably should add regex and validate length

func IsLightningAddress added in v0.3.2

func IsLightningAddress(address string) bool

func IsLnurl added in v0.4.1

func IsLnurl(message string) bool

Types

This section is empty.