rename to new lowercase github namespace
This commit is contained in:
parent
0b3fb72a97
commit
e4e060a82f
|
@ -2,7 +2,7 @@
|
||||||
Pterodactyl go Daemon Vagrant VM
|
Pterodactyl go Daemon Vagrant VM
|
||||||
|
|
||||||
Gopath: /home/ubuntu/go
|
Gopath: /home/ubuntu/go
|
||||||
Daemon: /home/ubuntu/go/src/github.com/Pterodactyl/wings.go
|
Daemon: /home/ubuntu/go/src/github.com/pterodactyl/wings.go
|
||||||
Data: /srv/daemon-data
|
Data: /srv/daemon-data
|
||||||
|
|
||||||
#####################################################
|
#####################################################
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/config"
|
"github.com/pterodactyl/wings/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InternalAPI struct {
|
type InternalAPI struct {
|
||||||
|
|
|
@ -3,9 +3,9 @@ package api
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/config"
|
|
||||||
"github.com/Pterodactyl/wings/control"
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
"github.com/pterodactyl/wings/config"
|
||||||
|
"github.com/pterodactyl/wings/control"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/config"
|
"github.com/pterodactyl/wings/config"
|
||||||
"github.com/Pterodactyl/wings/control"
|
"github.com/pterodactyl/wings/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
const configFile = "_testdata/config.yml"
|
const configFile = "_testdata/config.yml"
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"runtime"
|
"runtime"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/constants"
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
"github.com/pterodactyl/wings/constants"
|
||||||
"github.com/shirou/gopsutil/cpu"
|
"github.com/shirou/gopsutil/cpu"
|
||||||
"github.com/shirou/gopsutil/host"
|
"github.com/shirou/gopsutil/host"
|
||||||
"github.com/shirou/gopsutil/mem"
|
"github.com/shirou/gopsutil/mem"
|
||||||
|
|
|
@ -3,8 +3,8 @@ package api
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/control"
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
"github.com/pterodactyl/wings/control"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/control"
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
"github.com/pterodactyl/wings/control"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/Pterodactyl/wings/control"
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
"github.com/pterodactyl/wings/control"
|
||||||
)
|
)
|
||||||
|
|
||||||
func getServerFromContext(context *gin.Context) control.Server {
|
func getServerFromContext(context *gin.Context) control.Server {
|
||||||
|
|
|
@ -6,11 +6,11 @@ import (
|
||||||
|
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/api"
|
"github.com/pterodactyl/wings/api"
|
||||||
"github.com/Pterodactyl/wings/config"
|
"github.com/pterodactyl/wings/config"
|
||||||
"github.com/Pterodactyl/wings/constants"
|
"github.com/pterodactyl/wings/constants"
|
||||||
"github.com/Pterodactyl/wings/control"
|
"github.com/pterodactyl/wings/control"
|
||||||
"github.com/Pterodactyl/wings/utils"
|
"github.com/pterodactyl/wings/utils"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,9 +6,10 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/constants"
|
"github.com/pterodactyl/wings/constants"
|
||||||
|
|
||||||
"github.com/fsouza/go-dockerclient"
|
"github.com/fsouza/go-dockerclient"
|
||||||
|
"github.com/pterodactyl/wings/api/websockets"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/config"
|
"github.com/pterodactyl/wings/api/websockets"
|
||||||
"github.com/Pterodactyl/wings/constants"
|
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,14 +5,14 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/constants"
|
"github.com/pterodactyl/wings/constants"
|
||||||
|
|
||||||
rotatelogs "github.com/lestrrat/go-file-rotatelogs"
|
rotatelogs "github.com/lestrrat/go-file-rotatelogs"
|
||||||
"github.com/rifflock/lfshook"
|
"github.com/rifflock/lfshook"
|
||||||
log "github.com/sirupsen/logrus"
|
log "github.com/sirupsen/logrus"
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
|
|
||||||
"github.com/Pterodactyl/wings/config"
|
"github.com/pterodactyl/wings/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
// InitLogging initalizes the logging library for first use.
|
// InitLogging initalizes the logging library for first use.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user