other: 移除无用的 server.ConnReadonly
This commit is contained in:
parent
af0a5a1c25
commit
aaa007939f
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue