Versions in this module Expand all Collapse all v1 v1.1.0 May 11, 2019 v1.0.0 May 2, 2019 Changes in this version + const DefaultUpgradeTimeout + var ErrUpgradeCompleted = errors.New("an upgrade has completed") + var ErrUpgradeInProgress = errors.New("an upgrade is currently in progress") + var ErrUpgraderStopped = errors.New("the upgrader has been marked as stopped") + type Conn interface + type Fds struct + func (f *Fds) Conn(id string) (net.Conn, error) + func (f *Fds) DialWith(id, network, address string, ...) (net.Conn, error) + func (f *Fds) File(id string) (*os.File, error) + func (f *Fds) Listen(ctx context.Context, id string, cfg *net.ListenConfig, network, addr string) (net.Listener, error) + func (f *Fds) ListenWith(id, network, addr string, ...) (net.Listener, error) + func (f *Fds) Listener(id string) (net.Listener, error) + func (f *Fds) OpenFileWith(id string, name string, openFunc func(name string) (*os.File, error)) (*os.File, error) + func (f *Fds) Remove(id string) error + func (f *Fds) String() string + type Listener interface + type Option func(u *Upgrader) + func WithLogger(l log15.Logger) Option + func WithUpgradeTimeout(t time.Duration) Option + type Upgrader struct + Fds *Fds + func New(ctx context.Context, coordinationDir string, opts ...Option) (*Upgrader, error) + func (u *Upgrader) Ready() error + func (u *Upgrader) Stop() + func (u *Upgrader) UpgradeComplete() <-chan struct{} Other modules containing this package github.com/ngrok/tableroll/v2