quic

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HandshakeSuccess = 1
	HandshakeFailed  = 2
)
View Source
const Proto = "quic"

Variables

This section is empty.

Functions

func NoRecentNetwork

func NoRecentNetwork(err error) bool

Types

type Connection

type Connection struct {
	quic.Stream
	// contains filtered or unexported fields
}

func NewConnection

func NewConnection(stream quic.Stream, localAddr, remoteAddr net.Addr) *Connection

func (Connection) LocalAddr

func (c Connection) LocalAddr() net.Addr

func (Connection) RemoteAddr

func (c Connection) RemoteAddr() net.Addr

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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