Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Tracer = qlog.NewTracer(func(p logging.Perspective, connID []byte) io.WriteCloser { filename := fmt.Sprintf("%v_%x.qlog", strings.ToLower(p.String()), connID) f, err := os.Create(filename) if err != nil { log.Error("Unable to create file for tracing -- tracing will be discarded", zap.Error(err)) return discardWriter{io.Discard} } log.Debug("Creating qlog file", zap.String("qlogFile", filename)) return f })
Functions ¶
func ReceiveControlMessage ¶
func ReceiveControlMessage(stream quic.Stream, callBack types.ControlMessageCallback) (success bool, err error)
func SendControlMessage ¶
func SendControlMessage(cm types.ControlMessage, stream quic.Stream) (success bool, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.