env

package
v1.57.5 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 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 EncoreDebug added in v1.56.10

func EncoreDebug() option.Option[string]

EncoreDebug reports the value of the ENCOREDEBUG environment variable, a comma-separated list of key=value pairs that toggle non-default daemon behavior (e.g. ENCOREDEBUG=sqldbrole=legacy).

func EncoreDevDashListenAddr added in v1.41.9

func EncoreDevDashListenAddr() option.Option[string]

EncoreDevDashListenAddr reports the listen address for where the daemon exposes the dev dash. It can be overridden by setting ENCORE_DEVDASH_LISTEN_ADDR.

func EncoreGoRoot

func EncoreGoRoot() string

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

func EncoreMCPSSEListenAddr added in v1.48.5

func EncoreMCPSSEListenAddr() option.Option[string]

EncoreMCPSSEListenAddr reports the listen address for where the daemon exposes the MCP SSE endpoint. It can be overridden by setting ENCORE_MCPSSE_LISTEN_ADDR.

func EncoreObjectStorageListAddr added in v1.48.5

func EncoreObjectStorageListAddr() option.