Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reloader ¶
type Reloader interface { Listen(network, address string) (net.Listener, error) SetupGracefulRestart(context.Context, run.Group) }
Reloader defines socket reloader contract.
type TableflipReloader ¶
TableflipReloader deleagtes socket reloading to tableflip library which his not windows compatible.
func (*TableflipReloader) SetupGracefulRestart ¶
func (t *TableflipReloader) SetupGracefulRestart(ctx context.Context, group run.Group)
SetupGracefulRestart arms the graceful restart handler.
Click to show internal directories.
Click to hide internal directories.