Documentation ¶
Index ¶
Constants ¶
View Source
const ( CommandMe = "me" CommandHelp = "help" CommandChains = "chains" CommandValidators = "validators" CommandPause = "pause" CommandStatus = "status" CommandLast = "last" CommandSearch = "search" CommandSilent = "silent" )
View Source
const ( MINIMUM_BETWEEN_TELEGRAM_PUSH_SAME_USER = 1 * time.Minute BATCH_SIZE_TELEGRAM_PUSH_PER_USER = 20 BATCH_MESSAGES_LINE_DIVIDER = "\n---\n" INFORM_TELEGRAM_IF_BLOCK_OLDER_THAN = 3 * time.Minute SILENT_PATTERN_MINIMUM_LENGTH = 10 )
View Source
const ( APP_NAME = "Validator Health-check daemon" APP_DESC = "Health-check validators" BINARY_NAME = "hcvald" DEFAULT_HOME = "." + BINARY_NAME CONFIG_FILE_NAME = "config." + CONFIG_TYPE USERS_FILE_NAME = "users." + CONFIG_TYPE CHAIN_FILE_NAME_PREFIX = "chain." CONFIG_TYPE = "yaml" )
View Source
const ( FILE_PERMISSION = 0o600 FILE_PERMISSION_STR = "600" )
View Source
const (
FLAG_HOME = "home"
)
View Source
const (
MINIMUM_WORKER_HEALTH_CHECK = 5
)
Variables ¶
View Source
var ( VERSION = "" COMMIT_HASH = "" BUILD_DATE = "" )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.