diff options
Diffstat (limited to 'path.go')
| -rw-r--r-- | path.go | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/path.go b/path.go index 4b60dfe..3aa7816 100644 --- a/path.go +++ b/path.go @@ -1,7 +1,6 @@ -package main +package portgate import ( - "fmt" "net/url" "path" "strconv" @@ -69,9 +68,3 @@ func ParsePathFromReferer(p Path, r string) (Path, error) { ResourcePath: p.ResourcePath, }, nil } - -// MakeUrl creates the URL on the destination host that the user wants to access. -func (p *Path) MakeUrl(targetHost string) string { - // TODO: Figure out what to do with TLS - return fmt.Sprintf("http://%s:%d%s", targetHost, p.DestinationIdentifier, p.ResourcePath) -} |
