Documentation ¶
Index ¶
Constants ¶
View Source
const (
ENABLED = "true"
)
Variables ¶
This section is empty.
Functions ¶
func HasBilling ¶ added in v0.8.0
func HasBilling() bool
HasBilling returns true if the current ShellHub server instance has billing feature enabled.
func IsCloud ¶
func IsCloud() bool
IsCloud returns true if the current ShellHub server instance is cloud.
func IsCommunity ¶ added in v0.12.5
func IsCommunity() bool
IsCommunity return true if the current ShellHub server instance is community. It evaluates if the current ShellHub instance is neither enterprise or cloud .
func IsEnterprise ¶
func IsEnterprise() bool
IsEnterprise returns true if the current ShellHub server instance is enterprise.
Types ¶
Click to show internal directories.
Click to hide internal directories.