update to the new interface

This commit is contained in:
idk
2019-08-31 03:14:39 -04:00
parent 9eab288b8a
commit 0ff3d5f798
2 changed files with 5 additions and 9 deletions

8
go.mod
View File

@ -3,13 +3,9 @@ module github.com/eyedeekay/httptunnel
go 1.12
require (
crawshaw.io/littleboss v0.0.0-20190317185602-8957d0aedcce // indirect
github.com/boreq/friendlyhash v0.0.0-20190522010448-1ca64b3ca69e // indirect
github.com/eyedeekay/goSam v0.1.1-0.20190814204230-d4c9b8c57dd6
github.com/eyedeekay/sam-forwarder v0.0.0-20190814201550-7c0d7cb0d56c
github.com/eyedeekay/sam-forwarder v0.0.0-20190831071254-d67c0c0e311f
github.com/eyedeekay/sam3 v0.0.0-20190730185140-f8d54526ea25
github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69 // indirect
github.com/zieckey/goini v0.0.0-20180118150432-0da17d361d26 // indirect
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 // indirect
github.com/zserge/webview v0.0.0-20190123072648-16c93bcaeaeb // indirect
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
)

View File

@ -19,11 +19,11 @@ import (
"github.com/eyedeekay/goSam"
"github.com/eyedeekay/goSam/compat"
"github.com/eyedeekay/httptunnel/common"
"github.com/eyedeekay/sam-forwarder/config"
"github.com/eyedeekay/sam-forwarder/hashhash"
"github.com/eyedeekay/sam-forwarder/i2pkeys"
"github.com/eyedeekay/sam-forwarder/interface"
"github.com/eyedeekay/sam3/i2pkeys"
"github.com/eyedeekay/sam-forwarder/config"
)
type SAMHTTPProxy struct {
@ -65,7 +65,7 @@ type SAMHTTPProxy struct {
debug bool
up bool
Conf *i2ptunconf.Conf
Conf *i2ptunconf.Conf
}
var Quiet bool
@ -77,7 +77,7 @@ func plog(in ...interface{}) {
}
func (f *SAMHTTPProxy) Config() *i2ptunconf.Conf {
return f.Conf
return f.Conf
}
func (f *SAMHTTPProxy) print() []string {