Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = false
Functions ¶
Types ¶
type DataStreamer ¶
type DataStreamer interface {
DataStream() quic.Stream
}
DataSreamer is implemented by response writer on server side to take over the stream.
type Quic ¶
type Quic struct { Auth *meshauth.MeshAuth // UgateSVC - for node tracking UG *ugate.UGate // contains filtered or unexported fields }
Quic is the adapter to QUIC/H3/MASQUE for uGate.
type QuicMUX ¶
type QuicMUX struct {
// contains filtered or unexported fields
}
QuicMUX is a mux to a specific node. May be accepted or dialed. Equivalent with quic/h3/client.go ( when dialing ), and Quic server when accepting.
type QuicNetCon ¶
type QuicNetCon struct {
quic.Stream
}
func (QuicNetCon) LocalAddr ¶
func (q QuicNetCon) LocalAddr() net.Addr
func (QuicNetCon) RemoteAddr ¶
func (q QuicNetCon) RemoteAddr() net.Addr
Click to show internal directories.
Click to hide internal directories.