env

package
v1.25.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MPL-2.0 Imports: 3 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 EncoreGoRoot

func EncoreGoRoot() string

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

func EncoreRuntimePath

func EncoreRuntimePath() string

EncoreRuntimePath reports the path to the Encore runtime. It can be overridden by setting ENCORE_RUNTIME_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().

Types

This section is empty.

Jump to

Keyboard shortcuts

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