constant

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ALL = "all"

	OFFERS = "offers"
	WANTS  = "wants"
)
View Source
var Business = struct {
	Pending  string
	Accepted string
	Rejected string
}{
	Pending:  "pending",
	Accepted: "accepted",
	Rejected: "rejected",
}

Business status

View Source
var Date = struct {
	DefaultFrom time.Time
	DefaultTo   time.Time
}{
	DefaultFrom: time.Date(2000, 1, 1, 00, 00, 0, 0, time.UTC),
	DefaultTo:   time.Date(2100, 1, 1, 00, 00, 0, 0, time.UTC),
}
View Source
var Flash = struct {
	Success string
	Info    string
}{
	Success: "success",
	Info:    "info",
}
View Source
var Journal = struct {
	Transfer string
}{
	Transfer: "Transfer",
}
View Source
var Trading = struct {
	Pending  string
	Accepted string
	Rejected string
}{
	Pending:  "tradingPending",
	Accepted: "tradingAccepted",
	Rejected: "tradingRejected",
}

Trading Status decides whether a business can perform transactions (already in accepted status).

View Source
var Transaction = struct {
	Initiated string
	Completed string
	Cancelled string
}{
	Initiated: "transactionInitiated",
	Completed: "transactionCompleted",
	Cancelled: "transactionCancelled",
}

Transaction Status

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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