Documentation ¶
Overview ¶
Package payment - control of payment verification
Index ¶
Constants ¶
View Source
const ( // MinimumNonceLength - least number of bytes in NONCE MinimumNonceLength = 8 // MaximumNonceLength - most number of bytes in NONCE MaximumNonceLength = 64 )
Variables ¶
This section is empty.
Functions ¶
func Initialise ¶ added in v0.2.0
func Initialise(configuration *Configuration) error
Initialise - setup the payment system
Types ¶
type Configuration ¶ added in v0.2.0
type Configuration struct { UseDiscovery bool `gluamapper:"use_discovery" hcl:"use_discovery" json:"use_discovery"` Discovery *discoveryConfiguration `gluamapper:"discovery" hcl:"discovery" json:"discovery"` Bitcoin *currencyConfiguration `gluamapper:"bitcoin" hcl:"bitcoin" json:"bitcoin"` Litecoin *currencyConfiguration `gluamapper:"litecoin" hcl:"litecoin" json:"litecoin"` }
Configuration - structure for configuration file
Click to show internal directories.
Click to hide internal directories.