chat

package
v0.1.1-3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 16 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(p *moqtransport.Peer) (*Client, error)

func NewQUICClient

func NewQUICClient(ctx context.Context, addr string) (*Client, error)

func NewWebTransportClient

func NewWebTransportClient(ctx context.Context, addr string) (*Client, error)

func (*Client) Run

func (c *Client) Run()

type Server

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

func NewServer

func NewServer(tlsConfig *tls.Config) *Server

func (*Server) ListenQUIC

func (s *Server) ListenQUIC(ctx context.Context, addr string) error

func (*Server) ListenWebTransport

func (s *Server) ListenWebTransport(ctx context.Context, addr string) error

Jump to

Keyboard shortcuts

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