Chore(core/adapter): rename to TransportHandler

This commit is contained in:
xjasonlyu
2022-03-29 15:26:00 +08:00
parent 20fe2e4cd8
commit ba7a7ddc95
3 changed files with 4 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
package adapter
// Handler is a TCP/UDP connection handler that implements
// TransportHandler is a TCP/UDP connection handler that implements
// HandleTCPConn and HandleUDPConn methods.
type Handler interface {
type TransportHandler interface {
HandleTCP(TCPConn)
HandleUDP(UDPConn)
}