aboutsummaryrefslogtreecommitdiff
path: root/hop.go
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2021-09-09 17:58:53 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2021-09-09 17:58:53 +0200
commitc2c35e5551d81615dc6d527d6ac34560609f06d1 (patch)
treef5642727fb15fcf3b10392ab47d56427962468ef /hop.go
parentbcc9359996bffb16bc50b6201e9691efc898c024 (diff)
Export Hop method
Diffstat (limited to 'hop.go')
-rw-r--r--hop.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hop.go b/hop.go
index 4aabb1e..6f9798d 100644
--- a/hop.go
+++ b/hop.go
@@ -8,7 +8,7 @@ import (
"github.com/anon55555/mt"
)
-func (cc *ClientConn) hop(serverName string) error {
+func (cc *ClientConn) Hop(serverName string) error {
cc.hopMu.Lock()
defer cc.hopMu.Unlock()