Loading mnpw.go +1 −0 Changes for mnpw.go: 1 added line, 0 removed lines. 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 Changes for pkg/nagios/nagios.go: 12 added lines, 0 removed lines. 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 Changes for mnpw.go: 1 added line, 0 removed lines. 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 Changes for pkg/nagios/nagios.go: 12 added lines, 0 removed lines. 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 )