Implemented conn.go and hanshake.go + unit tests

This commit is contained in:
robert
2026-01-04 20:24:15 +00:00
parent e98625ef58
commit 786533bbfc
4 changed files with 304 additions and 0 deletions

10
conn.go Normal file
View File

@@ -0,0 +1,10 @@
package ownwire_sdk
import (
"context"
)
type Conn interface {
WriteText(ctx context.Context, s string) error
ReadText(ctx context.Context) (string, error)
}