Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
Region currency_lib.Code
Presets Presets
}
Entry pairs a currency with its presets.
type Presets ¶
Presets are the tip amounts offered for a currency, in major currency units. Minimum is the floor enforced on any tip; the remaining tiers are the amounts clients surface as one-tap presets.
func PresetsFor ¶
func PresetsFor(region currency_lib.Code) (Presets, bool)
PresetsFor returns the presets for a currency, and whether it has any.
Click to show internal directories.
Click to hide internal directories.