envs

package
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 1 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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