Documentation ¶ Overview ¶ Package env detects what sort of environment Camlistore is running in. Index ¶ func IsDev() bool func OnGCE() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func IsDev ¶ func IsDev() bool IsDev reports whether this is a development server environment (devcam server). func OnGCE ¶ func OnGCE() bool OsGCE 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. Types ¶ This section is empty. Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.