mirror of
https://github.com/yv1ing/rdp_channel.git
synced 2025-09-16 14:59:08 +08:00
抽象传输层,完成X224数据交互
This commit is contained in:
6
protocol/core/transport/transport.go
Normal file
6
protocol/core/transport/transport.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package transport
|
||||
|
||||
type Transport interface {
|
||||
Read() (int, []byte, error)
|
||||
Write([]byte) (int, error)
|
||||
}
|
||||
Reference in New Issue
Block a user