Rename weavedns package to nameserver, and fix up
This commit is contained in:
1 parent
8469fea215
commit
822ec90606
16 files changed
+17
-17
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"github.com/miekg/dns"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"errors"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"io"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"github.com/miekg/dns"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"github.com/miekg/dns"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"github.com/miekg/dns"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"github.com/miekg/dns"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"github.com/fsouza/go-dockerclient"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"github.com/miekg/dns"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weavedns
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
"net"
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
|
||||
all: server-image
|
||||
|
||||
weavedns: ../server/*.go ../main.go
|
||||
go get -tags netgo ../ && go build -tags netgo -ldflags '-linkmode external -extldflags "-static"' -o $@ -v ../
|
||||
weavedns: ../nameserver/*.go ./main.go
|
||||
go get -tags netgo && go build -tags netgo -ldflags '-linkmode external -extldflags "-static"' -o $@ -v
|
||||
|
||||
.PHONY: server-image
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"github.com/zettio/weavedns/server"
|
||||
weavedns "github.com/zettio/weavedns/nameserver"
|
||||
"io/ioutil"
|
||||
"net"
|
||||
"os"
|
||||
|
||||
Reference in new issue
Block a user