Help us shape the future of Go! Take the 2026 Go Developer Survey

proto

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClientControlUnknown = ClientControlNextProto{}
	ClientControlV03     = ClientControlNextProto{"connet-client/0.3"} // 0.13.0
	ClientControlLatest  = ClientControlV03
)
View Source
var (
	ConnectClientV01    = ConnectClientNextProto{"connet-peer/0.1"} // 0.7.0
	ConnectClientLatest = ConnectClientV01
)
View Source
var (
	ConnectRelayUnknown = ConnectRelayNextProto{}
	ConnectRelayV02     = ConnectRelayNextProto{"connet-peer-relay/0.2"} // 0.13.0
	ConnectRelayLatest  = ConnectRelayV02
)
View Source
var (
	RelayControlUnknown = RelayControlNextProto{}
	RelayControlV03     = RelayControlNextProto{"connet-relay/0.3"} // 0.13.0
	RelayControlLatest  = RelayControlV03
)

Functions

func Read

func Read(r io.Reader, msg proto.Message) error

func Write

func Write(w io.Writer, msg proto.Message) error

Types

type ClientControlNextProto

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

ClientControlNextProto describes TLS NextProtos for clients connecting to control servers

func GetClientControlNextProto

func GetClientControlNextProto(conn *quic.Conn) ClientControlNextProto

func (ClientControlNextProto) String

func (v ClientControlNextProto) String() string

type ConnectClientNextProto

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

ConnectClientNextProto describes TLS NextProtos for clients connecting to other clients

func (ConnectClientNextProto) String

func (v ConnectClientNextProto) String() string

type ConnectRelayNextProto

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

ConnectRelayNextProto describes TLS NextProtos for clients connecting to relays

func GetConnectRelayNextProto

func GetConnectRelayNextProto(conn *quic.Conn) ConnectRelayNextProto

func (ConnectRelayNextProto) String

func (v ConnectRelayNextProto) String() string

type RelayControlNextProto

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

RelayControlNextProto describes TLS NextProtos for relays connecting to control servers

func GetRelayControlNextProto

func GetRelayControlNextProto(conn *quic.Conn) RelayControlNextProto

func (RelayControlNextProto) String

func (v RelayControlNextProto) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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