Documentation ¶
Index ¶
Constants ¶
View Source
const ( Transaction_UNKNOWN transaction_type = iota Transaction_PAY Transaction_LOAN )
View Source
const ( TRANSACTIONS_CHANNEL string = "818736444835233792" STARTING_AMOUNT coins = 1000 // 0.1% interest every hour INTEREST_PER_HOUR float64 = 0.001 INTEREST_INTERVAL time.Duration = time.Hour // Emoji ids ACCEPT_ID string = "🚰" // Potable water DECLINE_ID string = "🚱" // Non potable water OK_ID string = "🆗" // OK Emoji )
Variables ¶
This section is empty.
Functions ¶
func AddHandlers ¶
Types ¶
type UserAmount ¶
type UserAmount struct { User string `fauna:"user"` Amount coins `fauna:"amount"` }
Click to show internal directories.
Click to hide internal directories.