onecurrency

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DB_TABLE = "onecurrency_money"

DB_TABLE the table to use for onecurrency things

Variables

View Source
var Currency map[string]*currencyStore

Functions

func InitCurrency

func InitCurrency(currency string)

Types

type CurrencyObject

type CurrencyObject struct {
	DisplayName  string `bson:"dN"` // DisplayName of the user
	Quantity     int    `bson:"q"`  // Quantity of currency
	BankQuantity int    `bson:"bQ"` // Quantity of currency in bank
	Aliases      string `bson:"a"`  // User aliases
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL