Add message IDs, transport interface, client package, extract protocol headers

This commit is contained in:
Ian Gulliver
2026-04-03 17:41:44 +09:00
parent 302f7fdb6a
commit 64953ef985
10 changed files with 251 additions and 152 deletions

View File

@@ -0,0 +1,9 @@
package transport
import "time"
type Transport interface {
Send(data []byte) error
Receive(timeout time.Duration) ([]byte, error)
Close() error
}