Discover Packages
camlistore.org
pkg
env
package
Version:
v0.0.0-...-a5a65f0
Opens a new window with list of versions in this module.
Published: Dec 30, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 263
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package env detects what sort of environment Camlistore is running in.
DebugUploads reports whether this is a debug environment for uploads.
IsDebug reports whether this is a debug environment.
IsDev reports whether this is a development server environment (devcam server).
OnGCE reports whether this process is running in a Google Compute
Engine (GCE) environment. This only returns true if the
"camlistore-config-dir" instance metadata value is defined.
Instances running in custom configs on GCE will be unaffected.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.