Documentation ¶
Index ¶
Constants ¶
View Source
const ( TEST_MACAROON_VALID = "" /* 460-byte string literal not displayed */ TEST_PREIMAGE_VALID = "3965343963626361373962353265376339646632623534373234343163623766" TEST_MACAROON_WITHOUT_CAVEATS = "" /* 368-byte string literal not displayed */ TEST_MACAROON_WITHOUT_CAVEATS_PREIMAGE = "651505fae9ea341c770c6ebef207d8560d546eb3aee26985e584c15d1c987875" TEST_PREIMAGE_INVALID = "fbe9ac25c04e14b10177514e2d57b0e39224e70277ac1a2cd23c28e58cd4ea35" ROOT_KEY = "ABDEGHKLMPTC" )
View Source
const MIN_SATS_TO_BE_PAID = 1
View Source
const SATS_PER_BTC = 100000000
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FiatRateConfig ¶
func (*FiatRateConfig) FiatToBTCAmountFunc ¶
func (fr *FiatRateConfig) FiatToBTCAmountFunc(req *http.Request) (amount int64)
Click to show internal directories.
Click to hide internal directories.