quix

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: BSD-2-Clause Imports: 4 Imported by: 0

README

IETF QUIC Implementation. See RFC 8999-9002.

What TLS 1.3 library should we use?

SO_REUSEPORT is a must for server. recvmmsg(2), sendmmsg(2) is a plus. UDP GSO is a plus.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connection added in v0.1.6

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

Connection

func Dial

func Dial(address string) (*Connection, error)

func DialTimeout

func DialTimeout(address string, timeout time.Duration) (*Connection, error)

func (*Connection) AcceptOneway added in v0.1.6

func (c *Connection) AcceptOneway() (*Oneway, error)

func (*Connection) AcceptStream added in v0.1.6

func (c *Connection) AcceptStream() (*Stream, error)

func (*Connection) Close added in v0.1.6

func (c *Connection) Close() error

func (*Connection) CreateOneway added in v0.1.6

func (c *Connection) CreateOneway() (*Oneway, error)

func (*Connection) CreateStream added in v0.1.6

func (c *Connection) CreateStream() (*Stream, error)

func (*Connection) RecvMsg added in v0.1.6

func (c *Connection) RecvMsg(p []byte) error

func (*Connection) SendMsg added in v0.1.6

func (c *Connection) SendMsg(p []byte) error

type Gate

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

Gate

func NewGate

func NewGate(address string) *Gate

func (*Gate) Accept

func (g *Gate) Accept() (*Connection, error)

func (*Gate) Close

func (g *Gate) Close() error

func (*Gate) Open

func (g *Gate) Open() error

type Oneway

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

Oneway

func (*Oneway) Close

func (o *Oneway) Close() error

func (*Oneway) Read

func (o *Oneway) Read(p []byte) (n int, err error)

func (*Oneway) SetReadDeadline

func (o *Oneway) SetReadDeadline(deadline time.Time) error

func (*Oneway) SetWriteDeadline

func (o *Oneway) SetWriteDeadline(deadline time.Time) error

func (*Oneway) Write

func (o *Oneway) Write(p []byte) (n int, err error)

type Stream

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

Stream

func (*Stream) Close

func (s *Stream) Close() error

func (*Stream) Read

func (s *Stream) Read(p []byte) (n int, err error)

func (*Stream) SetReadDeadline

func (s *Stream) SetReadDeadline(deadline time.Time) error

func (*Stream) SetWriteDeadline

func (s *Stream) SetWriteDeadline(deadline time.Time) error

func (*Stream) Write

func (s *Stream) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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