Add early conn interface

This commit is contained in:
世界 2023-02-26 23:00:41 +08:00
parent e839483670
commit 83d9121b04
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

5
common/network/early.go Normal file
View file

@ -0,0 +1,5 @@
package network
type EarlyConn interface {
NeedHandshake() bool
}