Documentation ¶
Index ¶
Constants ¶
View Source
const NoExpiryCode = -9999 // dumb, but no one would ever have expired premium for 9999 days
View Source
const SubDays = 31 // use 31 because there shouldn't ever be a gap; whenever a renewal happens on the 31st day, that should be valid
Variables ¶
View Source
var TierStrings = []string{
"Free",
"Bronze",
"Silver",
"Gold",
"Trial",
"SelfHost",
}
Functions ¶
Types ¶
type PremiumRecord ¶ added in v0.0.13
Click to show internal directories.
Click to hide internal directories.