Versions in this module Expand all Collapse all v1 v1.0.0 Oct 26, 2022 Changes in this version + const DefaultUpgradeTimeout + type Conn interface + type Fds struct + func (f *Fds) AddConn(network, addr string, conn Conn) error + func (f *Fds) AddFile(name string, file *os.File) error + func (f *Fds) AddListener(network, addr string, ln Listener) error + func (f *Fds) Conn(network, addr string) (net.Conn, error) + func (f *Fds) File(name string) (*os.File, error) + func (f *Fds) Listen(network, addr string) (net.Listener, error) + func (f *Fds) Listener(network, addr string) (net.Listener, error) + type Listener interface + type Options struct + BinFile string + PIDFile string + UpgradeTimeout time.Duration + WDir string + type Upgrader struct + func New(opts Options) (upg *Upgrader, err error) + func (u *Upgrader) Exit() <-chan struct{} + func (u *Upgrader) HasParent() bool + func (u *Upgrader) Ready() error + func (u *Upgrader) Stop() + func (u *Upgrader) Upgrade() error + func (u *Upgrader) WaitForParent(ctx context.Context) error