envs

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 1 Imported by: 11

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 IsEnterprise

func IsEnterprise() bool

IsEnterprise returns true if the current ShellHub server instance is enterprise.

Types

type Backend

type Backend interface {
	Get(key string) string
}

Backend is an interface for any sort of underlying key/value store.

var DefaultBackend Backend

DefaultBackend define the backend to be used to get environment variables.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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