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 UnsupportedReloader ¶
type UnsupportedReloader struct { }
UnsupportedReloader is the file descriptor reloader mock for Windows.
func (*UnsupportedReloader) Listen ¶
func (t *UnsupportedReloader) Listen(network, address string) (net.Listener, error)
Listen create a listener socket.
func (*UnsupportedReloader) SetupGracefulRestart ¶
func (t *UnsupportedReloader) SetupGracefulRestart(context context.Context, group run.Group)
SetupGracefulRestart does nothing on Windows.
Click to show internal directories.
Click to hide internal directories.