# Functions
Create writes configuration templates to the configuration file at the specified configuration directory.
Dir returns the configuration directory in use.
FilePath returns the absolute path to the configuration file.
GetRetryDialTime converts the string representation of RetryDialAfter into time.Duration and returns it.
Load loads and validates the configuration file.
LoadOrGenState loads the contents of the signctrl_state.json file and returns them if it exists, or generetas a new one.
StateFilePath returns the absolute path to the signctrl_state.json file.
# Constants
BaseSection defines the [base] section of the configuration file.
File is the full file name of the configuration file.
PermConfigDir determines the default file permissions for the configuration directory.
PermConfigToml determines the default file permissions for the configuration file.
PermStateFile determines the default file permissions for the signctrl_state.json file.
PrivvalSection defines the [privval] section of the configuration file.
StateFile is the full file name of the file that persists the validator's last state.
# Structs
Base defines the base configuration parameters for SignCTRL.
Config defines the structure of SignCTRL's configuration file.
PrivValidator defines the types of private validators that sign incoming sign requests.
State defines the contents of the signctrl_state.json file.
# Type aliases
Section is a custom type for specific sections in the configuration file.