env

package
v1.35.3 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package env answers where Encore tools and resources are located.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncoreBin added in v1.33.0

func EncoreBin() option.Option[string]

EncoreBin reports the path to the directory containing the Encore installation's binaries.

func EncoreDaemonLogPath added in v1.33.6

func EncoreDaemonLogPath() string

EncoreDaemonLogPath reports the path to the Encore daemon log file. It can be overridden by setting ENCORE_DAEMON_LOG_PATH.

func EncoreGoRoot

func EncoreGoRoot() string

EncoreGoRoot reports the path to the Encore Go root. It can be overridden by setting ENCORE_GOROOT.

func EncoreRuntimeLib added in v1.33.0

func EncoreRuntimeLib() string

EncoreRuntimeLib reports the path to the Encore runtime library for node.js. It can be overridden by setting ENCORE_RUNTIME_LIB.

func EncoreRuntimesPath added in v1.27.1

func EncoreRuntimesPath() string

EncoreRuntimesPath reports the path to the Encore runtime. It can be overridden by setting ENCORE_RUNTIMES_PATH.

func IsSSH added in v1.21.1

func IsSSH() bool

IsSSH reports whether the current session is an SSH session.

func List

func List() []string

List reports Encore environment variables, in the same format as os.Environ().

func OptEncoreGoRoot added in v1.29.6

func OptEncoreGoRoot() option.Option[string]

OptEncoreGoRoot reports the path to the Encore Go root. It can be overridden by setting ENCORE_GOROOT. If the goroot can't be found, it reports None.

Types

This section is empty.

Jump to

Keyboard shortcuts

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