rename the logging.Tracer to ConnectionTracer

This commit is contained in:
Marten Seemann 2020-06-29 12:22:58 +07:00
parent 7f6eca84da
commit 4121ea84f4
15 changed files with 154 additions and 154 deletions

View file

@ -11,8 +11,8 @@ import (
"github.com/lucas-clemente/quic-go/internal/wire"
)
// A Tracer records events.
type Tracer interface {
// A ConnectionTracer records events.
type ConnectionTracer interface {
StartedConnection(local, remote net.Addr, version protocol.VersionNumber, srcConnID, destConnID protocol.ConnectionID)
ClosedConnection(CloseReason)
SentTransportParameters(*wire.TransportParameters)