test(transport): add unit tests for transport behavior using Testify

This commit is contained in:
2026-01-22 19:22:35 +07:00
parent e534972abc
commit 29cabe42d3
13 changed files with 1346 additions and 26 deletions
+4
View File
@@ -8,3 +8,7 @@ type Transport interface {
Listen() (net.Listener, error)
Serve(listener net.Listener) error
}
type HTTP interface {
Handler(conn net.Conn, isTLS bool)
}