consts

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldStartTimeNano = "startTimeNano"
	FieldStopTimeNano  = "stopTimeNano"

	FieldStartTimeSec = "startTimeSec"
	FieldStopTimeSec  = "stopTimeSec"

	FieldCmdStdout   = "stdout"
	FieldCmdStderr   = "stderr"
	FieldCmdExitCode = "exit"
	FieldCmdSignaled = "signaled"

	FieldPipelineResult = "pipelineResult"

	FieldFtpCode = "ftpCode"
	FieldFtpMsg  = "ftpMsg"
)

Variables

View Source
var (
	// directory structure, for example, deployed in /opt
	// /opt
	// ├─ demo(Home)
	// │  ├─ bin(ExecDir)
	// │  │  ├─ executable(ExecPath)
	// │  ├─ conf
	// │  │  ├─ conf.yaml(CfgPath)
	// │  ├─ log
	// │  ├─ var
	// .
	ExecPath, _ = os.Executable()
	ExecDir     = filepath.Dir(ExecPath)
	Home        = filepath.Join(ExecDir, "..")
	CfgPath     = filepath.Join(Home, "conf", "conf.yaml")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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