move everything in lib/ to internal/
This commit is contained in:
parent
9b56d5f1ce
commit
babbdca699
|
@ -5,7 +5,7 @@ import (
|
|||
"crypto/tls"
|
||||
"flag"
|
||||
|
||||
"git.xeserv.us/xena/route/lib/tun2"
|
||||
"git.xeserv.us/xena/route/internal/tun2"
|
||||
"github.com/Xe/ln"
|
||||
"github.com/facebookgo/flagenv"
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
"git.xeserv.us/xena/route/lib/tun2"
|
||||
"git.xeserv.us/xena/route/internal/tun2"
|
||||
proto "git.xeserv.us/xena/route/proto"
|
||||
"github.com/Xe/ln"
|
||||
"golang.org/x/net/context"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package server
|
||||
|
||||
import (
|
||||
"git.xeserv.us/xena/route/lib/elfs"
|
||||
"git.xeserv.us/xena/route/internal/elfs"
|
||||
proto "git.xeserv.us/xena/route/proto"
|
||||
"github.com/Xe/ln"
|
||||
"golang.org/x/net/context"
|
||||
|
|
|
@ -9,10 +9,9 @@ import (
|
|||
"time"
|
||||
|
||||
"git.xeserv.us/xena/route/internal/database"
|
||||
"git.xeserv.us/xena/route/lib/tun2"
|
||||
"git.xeserv.us/xena/route/internal/tun2"
|
||||
proto "git.xeserv.us/xena/route/proto"
|
||||
"github.com/mtneug/pkg/ulid"
|
||||
"github.com/oxtoacart/bpool"
|
||||
"golang.org/x/crypto/acme/autocert"
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/credentials"
|
||||
|
@ -141,7 +140,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
Director: s.Director,
|
||||
Transport: s.ts,
|
||||
FlushInterval: 1 * time.Second,
|
||||
BufferPool: bpool.NewBytePool(256, 4096),
|
||||
//BufferPool: bpool.NewBytePool(256, 4096),
|
||||
}
|
||||
|
||||
rp.ServeHTTP(w, r)
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"context"
|
||||
|
||||
"git.xeserv.us/xena/route/internal/database"
|
||||
"git.xeserv.us/xena/route/lib/tun2"
|
||||
"git.xeserv.us/xena/route/internal/tun2"
|
||||
)
|
||||
|
||||
type storageWrapper struct {
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"git.xeserv.us/xena/route/lib/tun2"
|
||||
"git.xeserv.us/xena/route/internal/tun2"
|
||||
"github.com/Xe/ln"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue