Documentation
¶
Overview ¶
Package gatewayreload asks a running gateway to reload its config, so a program that changed the config outside the launcher, such as compa-kernel, can have it applied without a restart.
Index ¶
Constants ¶
View Source
const Timeout = 30 * time.Second
Timeout bounds the wait for the gateway's /reload, which answers once the reload is done.
Variables ¶
This section is empty.
Functions ¶
func BaseURL ¶
func BaseURL(pidData *ppid.PidFileData, cfg *config.Config) string
BaseURL is the address of the gateway pidData describes: its host and port, else the config's, else a loopback host and the default port.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.