other: 移除无用的 server.ConnReadonly

This commit is contained in:
kercylan98 2023-12-25 17:46:42 +08:00
parent af0a5a1c25
commit aaa007939f
1 changed files with 0 additions and 19 deletions

View File

@ -1,19 +0,0 @@
package server
import (
"net"
)
// ConnReadonly 连接只读接口
type ConnReadonly interface {
// RemoteAddr 获取远程地址
RemoteAddr() net.Addr
// GetID 获取连接 ID
GetID() string
// GetIP 获取连接 IP
GetIP() string
// GetData 获取连接数据
GetData(key any) any
// IsWebsocket 是否是 websocket 连接
IsWebsocket() bool
}