Loading mnpw.go +1 −0 Original line number Diff line number Diff line package main import ( "git.shore.co.il/shore/mnpw/pkg/nagios" "os" ) Loading pkg/nagios/nagios.go 0 → 100644 +12 −0 Original line number Diff line number Diff line package nagios // Although exit codes can't be a negative, int is used to match // ExitCode in *os.ProcessState. type ReturnCode int const ( OK ReturnCode = 0 WARNING = 1 CRITICAL = 2 UNKNOWN = 3 ) Loading
mnpw.go +1 −0 Original line number Diff line number Diff line package main import ( "git.shore.co.il/shore/mnpw/pkg/nagios" "os" ) Loading
pkg/nagios/nagios.go 0 → 100644 +12 −0 Original line number Diff line number Diff line package nagios // Although exit codes can't be a negative, int is used to match // ExitCode in *os.ProcessState. type ReturnCode int const ( OK ReturnCode = 0 WARNING = 1 CRITICAL = 2 UNKNOWN = 3 )