fallback

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FIFOLock

type FIFOLock struct {
	// contains filtered or unexported fields
}

func NewFIFOLock

func NewFIFOLock() *FIFOLock

func (*FIFOLock) Lock

func (l *FIFOLock) Lock()

func (*FIFOLock) LockUntil

func (l *FIFOLock) LockUntil(closed <-chan struct{}, deadlineState func() (time.Time, <-chan struct{})) error

func (*FIFOLock) Unlock

func (l *FIFOLock) Unlock()

type FallbackConn

type FallbackConn struct {
	// contains filtered or unexported fields
}

func (*FallbackConn) Close

func (f *FallbackConn) Close() error

func (*FallbackConn) LocalAddr

func (f *FallbackConn) LocalAddr() net.Addr

func (*FallbackConn) Read

func (f *FallbackConn) Read(b []byte) (n int, err error)

func (*FallbackConn) RemoteAddr

func (f *FallbackConn) RemoteAddr() net.Addr

func (*FallbackConn) SetDeadline

func (f *FallbackConn) SetDeadline(t time.Time) error

func (*FallbackConn) SetReadDeadline

func (f *FallbackConn) SetReadDeadline(t time.Time) error

func (*FallbackConn) SetWriteDeadline

func (f *FallbackConn) SetWriteDeadline(t time.Time) error

func (*FallbackConn) Write

func (f *FallbackConn) Write(b []byte) (int, error)

type FallbackCount

type FallbackCount struct {
	// contains filtered or unexported fields
}

func NewFallbackCount

func NewFallbackCount() (*FallbackCount, error)

func (*FallbackCount) Attach

func (f *FallbackCount) Attach(conn net.Conn, id uuid.UUID, addr string) (net.Conn, error)

func (*FallbackCount) Close

func (f *FallbackCount) Close() error

func (*FallbackCount) DeleteExecLimit

func (f *FallbackCount) DeleteExecLimit(id uuid.UUID) error

func (*FallbackCount) DeleteLimit

func (f *FallbackCount) DeleteLimit(addr netutil.IPv6, id uuid.UUID) error

func (*FallbackCount) Detach

func (f *FallbackCount) Detach(addr string, id uuid.UUID, ipv6 netutil.IPv6) error

func (*FallbackCount) SetExecLimit

func (f *FallbackCount) SetExecLimit(id uuid.UUID, limit app.Bitrate) error

func (*FallbackCount) SetLimit

func (f *FallbackCount) SetLimit(addr string, id uuid.UUID, limit app.Bitrate) error

func (*FallbackCount) Type

func (f *FallbackCount) Type() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL