Documentation
¶
Index ¶
Constants ¶
View Source
const ErrorFmt = "Error: %s\n"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PidFile string ConfigFiles []string MaxRetries int RetryWaitSecs int Signal os.Signal }
Config represents the configuration of the reloader.
type Reloader ¶
type Reloader struct { *Config // contains filtered or unexported fields }
Reloader monitors the state from a single server config file and sends signal on updates.
func NewReloader ¶
NewReloader returns a configured NATS server reloader.
Click to show internal directories.
Click to hide internal directories.