Documentation ¶
Index ¶
Constants ¶
View Source
const ( FieldStartTimeNano = "start_time_nano" FieldStopTimeNano = "stop_time_nano" FieldStartTimeSec = "start_time_sec" FieldStopTimeSec = "stop_time_sec" FieldCmdStdout = "stdout" FieldCmdStderr = "stderr" FieldCmdExitCode = "exit" FieldCmdSignaled = "signaled" )
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.