mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-29 05:11:04 +00:00
Move router package to server/router/ (#339)
This commit is contained in:
parent
35a45b7961
commit
b8f55f31e2
19 changed files with 13 additions and 13 deletions
|
@ -38,10 +38,10 @@ import (
|
||||||
"github.com/woodpecker-ci/woodpecker/cncd/pubsub"
|
"github.com/woodpecker-ci/woodpecker/cncd/pubsub"
|
||||||
"github.com/woodpecker-ci/woodpecker/plugins/sender"
|
"github.com/woodpecker-ci/woodpecker/plugins/sender"
|
||||||
"github.com/woodpecker-ci/woodpecker/remote"
|
"github.com/woodpecker-ci/woodpecker/remote"
|
||||||
"github.com/woodpecker-ci/woodpecker/router"
|
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware"
|
|
||||||
"github.com/woodpecker-ci/woodpecker/server"
|
"github.com/woodpecker-ci/woodpecker/server"
|
||||||
woodpeckerGrpcServer "github.com/woodpecker-ci/woodpecker/server/grpc"
|
woodpeckerGrpcServer "github.com/woodpecker-ci/woodpecker/server/grpc"
|
||||||
|
"github.com/woodpecker-ci/woodpecker/server/router"
|
||||||
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware"
|
||||||
"github.com/woodpecker-ci/woodpecker/store"
|
"github.com/woodpecker-ci/woodpecker/store"
|
||||||
|
|
||||||
"github.com/gin-gonic/contrib/ginrus"
|
"github.com/gin-gonic/contrib/ginrus"
|
||||||
|
|
|
@ -34,8 +34,8 @@ import (
|
||||||
"github.com/woodpecker-ci/woodpecker/store"
|
"github.com/woodpecker-ci/woodpecker/store"
|
||||||
|
|
||||||
"github.com/woodpecker-ci/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/session"
|
|
||||||
"github.com/woodpecker-ci/woodpecker/server"
|
"github.com/woodpecker-ci/woodpecker/server"
|
||||||
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/session"
|
||||||
"github.com/woodpecker-ci/woodpecker/server/shared"
|
"github.com/woodpecker-ci/woodpecker/server/shared"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/session"
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/session"
|
||||||
"github.com/woodpecker-ci/woodpecker/store"
|
"github.com/woodpecker-ci/woodpecker/store"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/woodpecker-ci/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/session"
|
|
||||||
"github.com/woodpecker-ci/woodpecker/server"
|
"github.com/woodpecker-ci/woodpecker/server"
|
||||||
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/session"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
|
@ -25,8 +25,8 @@ import (
|
||||||
|
|
||||||
"github.com/woodpecker-ci/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/woodpecker-ci/woodpecker/remote"
|
"github.com/woodpecker-ci/woodpecker/remote"
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/session"
|
|
||||||
"github.com/woodpecker-ci/woodpecker/server"
|
"github.com/woodpecker-ci/woodpecker/server"
|
||||||
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/session"
|
||||||
"github.com/woodpecker-ci/woodpecker/shared/token"
|
"github.com/woodpecker-ci/woodpecker/shared/token"
|
||||||
"github.com/woodpecker-ci/woodpecker/store"
|
"github.com/woodpecker-ci/woodpecker/store"
|
||||||
)
|
)
|
||||||
|
|
|
@ -18,8 +18,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/woodpecker-ci/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/session"
|
|
||||||
"github.com/woodpecker-ci/woodpecker/server"
|
"github.com/woodpecker-ci/woodpecker/server"
|
||||||
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/session"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
)
|
)
|
||||||
|
|
|
@ -25,8 +25,8 @@ import (
|
||||||
"github.com/woodpecker-ci/woodpecker/cncd/logging"
|
"github.com/woodpecker-ci/woodpecker/cncd/logging"
|
||||||
"github.com/woodpecker-ci/woodpecker/cncd/pubsub"
|
"github.com/woodpecker-ci/woodpecker/cncd/pubsub"
|
||||||
"github.com/woodpecker-ci/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/session"
|
|
||||||
"github.com/woodpecker-ci/woodpecker/server"
|
"github.com/woodpecker-ci/woodpecker/server"
|
||||||
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/session"
|
||||||
"github.com/woodpecker-ci/woodpecker/store"
|
"github.com/woodpecker-ci/woodpecker/store"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
|
|
@ -26,7 +26,7 @@ import (
|
||||||
|
|
||||||
"github.com/woodpecker-ci/woodpecker/model"
|
"github.com/woodpecker-ci/woodpecker/model"
|
||||||
"github.com/woodpecker-ci/woodpecker/remote"
|
"github.com/woodpecker-ci/woodpecker/remote"
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/session"
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/session"
|
||||||
"github.com/woodpecker-ci/woodpecker/server/shared"
|
"github.com/woodpecker-ci/woodpecker/server/shared"
|
||||||
"github.com/woodpecker-ci/woodpecker/shared/token"
|
"github.com/woodpecker-ci/woodpecker/shared/token"
|
||||||
"github.com/woodpecker-ci/woodpecker/store"
|
"github.com/woodpecker-ci/woodpecker/store"
|
||||||
|
|
|
@ -18,7 +18,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/woodpecker-ci/woodpecker/remote"
|
"github.com/woodpecker-ci/woodpecker/remote"
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/session"
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/session"
|
||||||
"github.com/woodpecker-ci/woodpecker/store"
|
"github.com/woodpecker-ci/woodpecker/store"
|
||||||
|
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
|
@ -20,12 +20,12 @@ import (
|
||||||
"github.com/dimfeld/httptreemux"
|
"github.com/dimfeld/httptreemux"
|
||||||
"github.com/gin-gonic/gin"
|
"github.com/gin-gonic/gin"
|
||||||
|
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/header"
|
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/session"
|
|
||||||
"github.com/woodpecker-ci/woodpecker/router/middleware/token"
|
|
||||||
"github.com/woodpecker-ci/woodpecker/server/api"
|
"github.com/woodpecker-ci/woodpecker/server/api"
|
||||||
"github.com/woodpecker-ci/woodpecker/server/api/debug"
|
"github.com/woodpecker-ci/woodpecker/server/api/debug"
|
||||||
"github.com/woodpecker-ci/woodpecker/server/api/metrics"
|
"github.com/woodpecker-ci/woodpecker/server/api/metrics"
|
||||||
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/header"
|
||||||
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/session"
|
||||||
|
"github.com/woodpecker-ci/woodpecker/server/router/middleware/token"
|
||||||
"github.com/woodpecker-ci/woodpecker/server/web"
|
"github.com/woodpecker-ci/woodpecker/server/web"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue