Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterShutdownSignals ¶
func RegisterShutdownSignals(callback func())
func UsageWithVersion ¶
func UsageWithVersion()
Types ¶
type PingConfig ¶
type PingConfig struct { Interval time.Duration `yaml:"interval"` Timeout time.Duration `yaml:"timeout"` }
func MakeDefaultPingConfig ¶
func MakeDefaultPingConfig() PingConfig
type PingFlagsSocketConfigurator ¶
type PingFlagsSocketConfigurator struct {
Config *PingConfig
}
func (*PingFlagsSocketConfigurator) ConfigureSocket ¶
func (c *PingFlagsSocketConfigurator) ConfigureSocket(sock *sockets.Socket) error
Click to show internal directories.
Click to hide internal directories.