quic

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(opts util.ToxOptions) (*Client, error)

func (*Client) Connect

func (t *Client) Connect(ctx context.Context) (util.ToxConn, error)

type Server

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

func NewServer

func NewServer(opts util.ToxOptions) (*Server, error)

func (*Server) ListenAndServe added in v1.1.0

func (s *Server) ListenAndServe(handler func(util.ToxConn)) error

Jump to

Keyboard shortcuts

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