chat

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 17 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.Session) (*Client, error)

func NewQUICClient

func NewQUICClient(addr string) (*Client, error)

func NewWebTransportClient

func NewWebTransportClient(addr string) (*Client, error)

func (*Client) Run

func (c *Client) Run() error

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