minor fs denesting

This commit is contained in:
AJ ONeal 2020-04-29 23:52:44 -06:00
parent cf8defbe3d
commit 09d296df2a
40 changed files with 9 additions and 9 deletions

View File

@ -12,8 +12,8 @@ import (
"github.com/gorilla/websocket"
"git.coolaj86.com/coolaj86/go-telebitd/rvpn/packer"
"git.coolaj86.com/coolaj86/go-telebitd/rvpn/sni"
"git.coolaj86.com/coolaj86/go-telebitd/packer"
"git.coolaj86.com/coolaj86/go-telebitd/sni"
)
var hostRegexp = regexp.MustCompile(`(?im)(?:^|[\r\n])Host: *([^\r\n]+)[\r\n]`)

View File

@ -11,7 +11,7 @@ import (
flag "github.com/spf13/pflag"
"github.com/spf13/viper"
"git.coolaj86.com/coolaj86/go-telebitd/rvpn/client"
"git.coolaj86.com/coolaj86/go-telebitd/client"
)
var httpRegexp = regexp.MustCompile(`(?i)^http`)

View File

@ -15,7 +15,7 @@ import (
lumberjack "gopkg.in/natefinch/lumberjack.v2"
telebit "git.coolaj86.com/coolaj86/go-telebitd"
"git.coolaj86.com/coolaj86/go-telebitd/rvpn/server"
"git.coolaj86.com/coolaj86/go-telebitd/server"
)
var (

View File

@ -1,5 +1,5 @@
#!/bin/bash
godebug build -instrument \
git.coolaj86.com/coolaj86/go-telebitd/rvpn/connection,git.coolaj86.com/coolaj86/go-telebitd/rvpn/connection \
git.coolaj86.com/coolaj86/go-telebitd/connection,git.coolaj86.com/coolaj86/go-telebitd/connection \
-o debug .

View File

@ -10,7 +10,7 @@ import (
"github.com/gorilla/mux"
telebit "git.coolaj86.com/coolaj86/go-telebitd"
"git.coolaj86.com/coolaj86/go-telebitd/rvpn/envelope"
"git.coolaj86.com/coolaj86/go-telebitd/envelope"
)
const (

View File

@ -9,7 +9,7 @@ import (
"github.com/gorilla/websocket"
"git.coolaj86.com/coolaj86/go-telebitd/rvpn/packer"
"git.coolaj86.com/coolaj86/go-telebitd/packer"
)
// Connection track websocket and faciliates in and out data

View File

@ -18,8 +18,8 @@ import (
"github.com/gorilla/websocket"
telebit "git.coolaj86.com/coolaj86/go-telebitd"
"git.coolaj86.com/coolaj86/go-telebitd/rvpn/packer"
"git.coolaj86.com/coolaj86/go-telebitd/rvpn/sni"
"git.coolaj86.com/coolaj86/go-telebitd/packer"
"git.coolaj86.com/coolaj86/go-telebitd/sni"
)
type contextKey string