4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-14 22:06:05 +00:00

convert to go module

This commit is contained in:
Arceliar
2018-12-07 19:56:04 -06:00
parent caa7b739af
commit 586781b49c
24 changed files with 65 additions and 34 deletions

View File

@ -14,7 +14,7 @@ import (
"sync/atomic"
"time"
"yggdrasil/defaults"
"github.com/yggdrasil-network/yggdrasil-go/src/defaults"
)
// TODO: Add authentication

View File

@ -8,8 +8,8 @@ import (
"net"
"regexp"
"yggdrasil/config"
"yggdrasil/defaults"
"github.com/yggdrasil-network/yggdrasil-go/src/config"
"github.com/yggdrasil-network/yggdrasil-go/src/defaults"
)
var buildName string

View File

@ -22,7 +22,7 @@ import "net/http"
import "runtime"
import "os"
import "yggdrasil/defaults"
import "github.com/yggdrasil-network/yggdrasil-go/src/defaults"
// Start the profiler in debug builds, if the required environment variable is set.
func init() {

View File

@ -6,10 +6,11 @@ import (
"bytes"
"errors"
"time"
"yggdrasil/defaults"
"github.com/songgao/packets/ethernet"
"github.com/yggdrasil-network/water"
"github.com/yggdrasil-network/yggdrasil-go/src/defaults"
)
const tun_IPv6_HEADER_LENGTH = 40