From 4e7ff65b1ef4b6fea461a11738e4ff755c4a35d7 Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 25 Dec 2018 04:42:55 -0500 Subject: [PATCH] Actually load keys in loadkeys and find keys in findkeys --- Makefile | 3 +++ socks/manager_options.go | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bd0d925..584fed2 100644 --- a/Makefile +++ b/Makefile @@ -7,3 +7,6 @@ fmt: clean: go clean + +deps: + go get -u github.com/eyedeekay/eeproxy diff --git a/socks/manager_options.go b/socks/manager_options.go index c944f43..e2a4f00 100644 --- a/socks/manager_options.go +++ b/socks/manager_options.go @@ -40,7 +40,7 @@ func SetPort(v string) func(*Manager) error { } //SetSocksHost sets the host of the client's SAM bridge -func SetHost(s string) func(*Manager) error { +func SetSocksHost(s string) func(*Manager) error { return func(c *Manager) error { c.host = s return nil @@ -48,7 +48,7 @@ func SetHost(s string) func(*Manager) error { } //SetSocksPort sets the port of the client's SAM bridge -func SetPort(v string) func(*Manager) error { +func SetSocksPort(v string) func(*Manager) error { return func(c *Manager) error { port, err := strconv.Atoi(v) if err != nil {