Actually load keys in loadkeys and find keys in findkeys
This commit is contained in:
parent
574bb777d0
commit
4e7ff65b1e
2 changed files with 5 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -7,3 +7,6 @@ fmt:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
go clean
|
go clean
|
||||||
|
|
||||||
|
deps:
|
||||||
|
go get -u github.com/eyedeekay/eeproxy
|
||||||
|
|
|
@ -40,7 +40,7 @@ func SetPort(v string) func(*Manager) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
//SetSocksHost sets the host of the client's SAM bridge
|
//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 {
|
return func(c *Manager) error {
|
||||||
c.host = s
|
c.host = s
|
||||||
return nil
|
return nil
|
||||||
|
@ -48,7 +48,7 @@ func SetHost(s string) func(*Manager) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
//SetSocksPort sets the port of the client's SAM bridge
|
//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 {
|
return func(c *Manager) error {
|
||||||
port, err := strconv.Atoi(v)
|
port, err := strconv.Atoi(v)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue