Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config config
Config is a strongly typed reference to all configuration parsed from Environment Variables
Functions ¶
func HasLegal ¶ added in v0.13.0
func HasLegal() bool
HasLegal returns true if current instance contains legal documents: privacy.md and terms.md
func IsBillingEnabled ¶ added in v0.18.0
func IsBillingEnabled() bool
IsBillingEnabled returns true if billing is enabled
func IsDevelopment ¶
func IsDevelopment() bool
IsDevelopment returns true on Fider production environment
func IsProduction ¶
func IsProduction() bool
IsProduction returns true on Fider production environment
func IsSingleHostMode ¶
func IsSingleHostMode() bool
IsSingleHostMode returns true if host mode is set to single tenant
func MultiTenantDomain ¶
func MultiTenantDomain() string
MultiTenantDomain returns domain name of current instance for multi tenant hosts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.