context

package
v0.0.0-...-457df6a Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LauncherContext

type LauncherContext interface {
	AppVersion() string

	AppBuildNum() string

	AppName() string

	AppDirname() string

	AppHomeEnvVar() string

	UsernameEnvVar() string

	PasswordEnvVar() string

	AuthTokenEnvVar() string

	LogLevelEnvVar() string

	DebugFlagsEnvVar() string

	ConfigurationFileEnvVar() string

	RemoteConfigurationUrlEnvVar() string

	CmdPackageDirEnvVar() string

	FullCmdNameEnvVar() string

	/* General function to get a environment variable name with prefix conventions */
	EnvVarName(name string) string
}

func AppContext

func AppContext() (LauncherContext, error)

func InitContext

func InitContext(appName string, appVersion string, buildNum string) LauncherContext

Jump to

Keyboard shortcuts

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