Discover Packages
github.com/im-kulikov/camlistore
pkg
env
package
Version:
v0.0.0-...-fcd5ff1
Opens a new window with list of versions in this module.
Published: Dec 15, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
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.