svcenv

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceEnv

type ServiceEnv struct {
	// ConfigurationDirectory holds the path to the
	// configuration directory of the server.
	ConfigurationDirectory string
	// StateDirectory holds the path to the directory
	// containing state data.
	StateDirectory string
	// RuntimeDirectory holds the path to the runtime
	// directory.
	RuntimeDirectory string
}

ServiceEnv describes the environment used by the service.

func Env

func Env() ServiceEnv

Env returns the current server environment

func (*ServiceEnv) String

func (e *ServiceEnv) String() string

Jump to

Keyboard shortcuts

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