diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-04-14 19:44:25 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-04-14 19:44:25 -0400 |
| commit | ed00b0e3d9b8a3304ceb4f1d847e929c45b6332f (patch) | |
| tree | 152846b8d8f4c47227075d6a245f6a1022207a07 /main.go | |
| parent | 0ec4fba0bded082b243a3285abc878d24855e1f2 (diff) | |
| download | hose-ed00b0e3d9b8a3304ceb4f1d847e929c45b6332f.zip | |
create handshake package
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 { |