quic

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 10 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(tunnel string) (*Client, error)

func (*Client) Connect

func (t *Client) Connect(ctx context.Context) (io.ReadWriteCloser, error)

type Server

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

func NewServer

func NewServer(tunnel string) (*Server, error)

func (*Server) ListenAndServeTLS

func (s *Server) ListenAndServeTLS(certFile, keyFile string, handler func(io.ReadWriter)) error

Jump to

Keyboard shortcuts

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