aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-04-14 19:44:25 -0400
committerSam Anthony <sam@samanthony.xyz>2025-04-14 19:44:25 -0400
commited00b0e3d9b8a3304ceb4f1d847e929c45b6332f (patch)
tree152846b8d8f4c47227075d6a245f6a1022207a07 /main.go
parent0ec4fba0bded082b243a3285abc878d24855e1f2 (diff)
downloadhose-ed00b0e3d9b8a3304ceb4f1d847e929c45b6332f.zip
create handshake package
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 161a21b..b27d1e8 100644
--- a/main.go
+++ b/main.go
@@ -7,6 +7,7 @@ import (
"net"
"os"
+ "git.samanthony.xyz/hose/handshake"
"git.samanthony.xyz/hose/util"
)
@@ -25,7 +26,7 @@ var (
func main() {
flag.Parse()
if *handshakeHost != "" {
- if err := handshake(*handshakeHost); err != nil {
+ if err := handshake.Handshake(*handshakeHost); err != nil {
util.Eprintf("%v\n", err)
}
} else if *recvFlag {