protocol

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownProtocol = fmt.Errorf("unknown protocol")
)
View Source
var QUICProtos = []Protocol{
	QUIC,
}
View Source
var TLSProtos = []Protocol{
	Yamux,
	Mplex,
}

Functions

This section is empty.

Types

type Protocol

type Protocol byte
const (
	Unknown Protocol = iota // unknown
	Yamux                   // yamux
	Mplex                   // mplex
	QUIC                    // quic
)

func (Protocol) MarshalLogObject

func (p Protocol) MarshalLogObject(enc zapcore.ObjectEncoder) error

func (Protocol) String

func (i Protocol) String() string

Jump to

Keyboard shortcuts

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