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.
Click to show internal directories.
Click to hide internal directories.