抽象传输层,完成X224数据交互

This commit is contained in:
2025-03-30 23:05:59 +08:00
parent a2d0db9e2d
commit 2ccf2439fb
3 changed files with 180 additions and 126 deletions

View File

@@ -0,0 +1,6 @@
package transport
type Transport interface {
Read() (int, []byte, error)
Write([]byte) (int, error)
}