diff options
Diffstat (limited to 'opts/consts.go')
-rw-r--r-- | opts/consts.go | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/opts/consts.go b/opts/consts.go new file mode 100644 index 0000000..062f66c --- /dev/null +++ b/opts/consts.go @@ -0,0 +1,19 @@ +// Copyright 2021 SNIX LLC sina@snix.ir +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License +// version 2 as published by the Free Software Foundation. +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. + +package opts + +const ( + errNoVal = "error: field %v has no value, killing main process" + errZero = "error: field %v has no (or zero) value, killing main process" + sameAddr = "error: proxy address and http api address cannot be the same" +) + +const memcac = "Clearc" |