Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add internal package #55

Merged
merged 5 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ bin
.idea
.vscode
__debug_bin*
build
build
.envrc
2 changes: 1 addition & 1 deletion cmd/api-server/cmd/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (

"github.com/spf13/cobra"

"github.com/TencentBlueKing/bk-bscp/internal/iam/apigw"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/apigw"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/version"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/api-server/service/routers.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ import (
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"

"github.com/TencentBlueKing/bk-bscp/pkg/audit"
"github.com/TencentBlueKing/bk-bscp/internal/audit"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/auth"
"github.com/TencentBlueKing/bk-bscp/pkg/rest/view"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/handler"
)

// routers return router config handler
Expand Down
4 changes: 2 additions & 2 deletions cmd/auth-server/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ import (

"github.com/TencentBlueKing/bk-bscp/cmd/auth-server/options"
"github.com/TencentBlueKing/bk-bscp/cmd/auth-server/service"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/ctl/cmd"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/uuid"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/metrics"
pbas "github.com/TencentBlueKing/bk-bscp/pkg/protocol/auth-server"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/brpc"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/ctl/cmd"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/shutdown"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
Expand Down
2 changes: 1 addition & 1 deletion cmd/auth-server/service/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ import (
"strings"
"time"

"github.com/TencentBlueKing/bk-bscp/cmd/auth-server/types"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/constant"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/errf"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/uuid"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/client"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/sys"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/protocol/auth-server/types"
"github.com/TencentBlueKing/bk-bscp/pkg/rest"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/shutdown"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/auth-server/service/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"

"github.com/TencentBlueKing/bk-bscp/internal/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/sys"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/auth-server/service/iam/fetch_instance_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
package iam

import (
"github.com/TencentBlueKing/bk-bscp/cmd/auth-server/types"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/client"
"github.com/TencentBlueKing/bk-bscp/pkg/kit"
"github.com/TencentBlueKing/bk-bscp/pkg/protocol/auth-server/types"
pbds "github.com/TencentBlueKing/bk-bscp/pkg/protocol/data-service"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/auth-server/service/iam/list_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ package iam
import (
"context"

"github.com/TencentBlueKing/bk-bscp/cmd/auth-server/types"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/client"
"github.com/TencentBlueKing/bk-bscp/pkg/kit"
"github.com/TencentBlueKing/bk-bscp/pkg/protocol/auth-server/types"
pbds "github.com/TencentBlueKing/bk-bscp/pkg/protocol/data-service"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/auth-server/service/iam/pull_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import (

pbstruct "github.com/golang/protobuf/ptypes/struct"

"github.com/TencentBlueKing/bk-bscp/cmd/auth-server/types"
"github.com/TencentBlueKing/bk-bscp/pkg/kit"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
pbas "github.com/TencentBlueKing/bk-bscp/pkg/protocol/auth-server"
"github.com/TencentBlueKing/bk-bscp/pkg/protocol/auth-server/types"
)

// PullResource callback function for iam to pull auth resource.
Expand Down
12 changes: 6 additions & 6 deletions cmd/auth-server/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ import (
"github.com/TencentBlueKing/bk-bscp/cmd/auth-server/service/iam"
"github.com/TencentBlueKing/bk-bscp/cmd/auth-server/service/initial"
confsvc "github.com/TencentBlueKing/bk-bscp/cmd/config-server/service"
"github.com/TencentBlueKing/bk-bscp/internal/iam/apigw"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/components/bkpaas"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/errf"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/apigw"
iamauth "github.com/TencentBlueKing/bk-bscp/pkg/iam/auth"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/client"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/meta"
Expand All @@ -49,16 +49,16 @@ import (
"github.com/TencentBlueKing/bk-bscp/pkg/kit"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/metrics"
"github.com/TencentBlueKing/bk-bscp/pkg/rest/view/webannotation"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/space"
esbcli "github.com/TencentBlueKing/bk-bscp/pkg/thirdparty/esb/client"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
pbas "github.com/TencentBlueKing/bk-bscp/pkg/protocol/auth-server"
pbcs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/config-server"
base "github.com/TencentBlueKing/bk-bscp/pkg/protocol/core/base"
basepb "github.com/TencentBlueKing/bk-bscp/pkg/protocol/core/base"
pbds "github.com/TencentBlueKing/bk-bscp/pkg/protocol/data-service"
"github.com/TencentBlueKing/bk-bscp/pkg/rest/view/webannotation"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/space"
esbcli "github.com/TencentBlueKing/bk-bscp/pkg/thirdparty/esb/client"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
)

// Service do all the data service's work
Expand Down
8 changes: 4 additions & 4 deletions cmd/cache-service/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,21 @@ import (
"github.com/TencentBlueKing/bk-bscp/cmd/cache-service/options"
"github.com/TencentBlueKing/bk-bscp/cmd/cache-service/service"
"github.com/TencentBlueKing/bk-bscp/cmd/cache-service/service/cache/client"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/ctl/cmd"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/errf"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/uuid"
"github.com/TencentBlueKing/bk-bscp/pkg/dal/bedis"
"github.com/TencentBlueKing/bk-bscp/pkg/dal/dao"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/metrics"
pbcs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/cache-service"
pbds "github.com/TencentBlueKing/bk-bscp/pkg/protocol/data-service"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/brpc"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/ctl/cmd"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/shutdown"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
pbcs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/cache-service"
pbds "github.com/TencentBlueKing/bk-bscp/pkg/protocol/data-service"
)

// Run start the cache service
Expand Down
4 changes: 2 additions & 2 deletions cmd/cache-service/service/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ import (
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/credentials/insecure"

"github.com/TencentBlueKing/bk-bscp/internal/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/dal/bedis"
"github.com/TencentBlueKing/bk-bscp/pkg/dal/dao"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
pbcs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/cache-service"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/grpcgw"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
pbcs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/cache-service"
)

// gateway auth server's grpc-gateway.
Expand Down
6 changes: 3 additions & 3 deletions cmd/config-server/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ import (

"github.com/TencentBlueKing/bk-bscp/cmd/config-server/options"
"github.com/TencentBlueKing/bk-bscp/cmd/config-server/service"
"github.com/TencentBlueKing/bk-bscp/pkg/audit"
"github.com/TencentBlueKing/bk-bscp/internal/audit"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/uuid"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/metrics"
pbcs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/config-server"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/brpc"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/shutdown"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
pbcs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/config-server"
)

// Run start the config server
Expand Down
4 changes: 2 additions & 2 deletions cmd/config-server/service/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ import (
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/credentials/insecure"

"github.com/TencentBlueKing/bk-bscp/internal/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
pbcs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/config-server"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/grpcgw"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
pbcs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/config-server"
)

// gateway auth server's grpc-gateway.
Expand Down
4 changes: 2 additions & 2 deletions cmd/data-service/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ import (
"github.com/TencentBlueKing/bk-bscp/cmd/data-service/options"
"github.com/TencentBlueKing/bk-bscp/cmd/data-service/service"
"github.com/TencentBlueKing/bk-bscp/cmd/data-service/service/crontab"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/uuid"
"github.com/TencentBlueKing/bk-bscp/pkg/dal/dao"
"github.com/TencentBlueKing/bk-bscp/pkg/dal/repository"
"github.com/TencentBlueKing/bk-bscp/pkg/dal/vault"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/metrics"
pbds "github.com/TencentBlueKing/bk-bscp/pkg/protocol/data-service"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/brpc"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/shutdown"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/space"
"github.com/TencentBlueKing/bk-bscp/pkg/thirdparty/esb/client"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
pbds "github.com/TencentBlueKing/bk-bscp/pkg/protocol/data-service"
)

// RunServer run the data service
Expand Down
4 changes: 2 additions & 2 deletions cmd/data-service/service/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ import (
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/credentials/insecure"

"github.com/TencentBlueKing/bk-bscp/internal/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/dal/dao"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
pbds "github.com/TencentBlueKing/bk-bscp/pkg/protocol/data-service"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/grpcgw"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
pbds "github.com/TencentBlueKing/bk-bscp/pkg/protocol/data-service"
)

// gateway auth server's grpc-gateway.
Expand Down
4 changes: 2 additions & 2 deletions cmd/feed-proxy/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ import (
"github.com/TencentBlueKing/bk-bscp/cmd/feed-proxy/options"
grpcproxy "github.com/TencentBlueKing/bk-bscp/cmd/feed-proxy/proxy/grpc"
"github.com/TencentBlueKing/bk-bscp/cmd/feed-proxy/service"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/ctl/cmd"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/metrics"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/brpc"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/ctl/cmd"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/shutdown"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/feed-proxy/proxy/http/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ package http
import (
"net/http"

"github.com/TencentBlueKing/bk-bscp/internal/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/handler"
)

// ProxyDownloadPrefix is the prefix for download proxy.
Expand Down
2 changes: 1 addition & 1 deletion cmd/feed-proxy/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ import (
"github.com/go-chi/chi/v5/middleware"

httpproxy "github.com/TencentBlueKing/bk-bscp/cmd/feed-proxy/proxy/http"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/errf"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/rest"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/shutdown"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/feed-server/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ import (

"github.com/TencentBlueKing/bk-bscp/cmd/feed-server/options"
"github.com/TencentBlueKing/bk-bscp/cmd/feed-server/service"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/uuid"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/metrics"
pbfs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/feed-server"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/brpc"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/ctl"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/shutdown"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
pbfs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/feed-server"
)

// Run start the feed server
Expand Down
8 changes: 4 additions & 4 deletions cmd/feed-server/service/rpc_sidecar.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
"google.golang.org/grpc/status"

"github.com/TencentBlueKing/bk-bscp/cmd/feed-server/bll/types"
"github.com/TencentBlueKing/bk-bscp/internal/ratelimiter"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/components/bcs"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/constant"
Expand All @@ -34,14 +35,13 @@ import (
"github.com/TencentBlueKing/bk-bscp/pkg/iam/meta"
"github.com/TencentBlueKing/bk-bscp/pkg/kit"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/ratelimiter"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/jsoni"
sfs "github.com/TencentBlueKing/bk-bscp/pkg/sf-share"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
pbcs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/cache-service"
pbbase "github.com/TencentBlueKing/bk-bscp/pkg/protocol/core/base"
pbkv "github.com/TencentBlueKing/bk-bscp/pkg/protocol/core/kv"
pbfs "github.com/TencentBlueKing/bk-bscp/pkg/protocol/feed-server"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/jsoni"
sfs "github.com/TencentBlueKing/bk-bscp/pkg/sf-share"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
)

// Handshake received handshake from sidecar to validate the app instance's authorization and legality.
Expand Down
4 changes: 2 additions & 2 deletions cmd/feed-server/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ import (

"github.com/TencentBlueKing/bk-bscp/cmd/feed-server/bll"
"github.com/TencentBlueKing/bk-bscp/cmd/feed-server/bll/types"
"github.com/TencentBlueKing/bk-bscp/internal/ratelimiter"
"github.com/TencentBlueKing/bk-bscp/internal/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/criteria/errf"
"github.com/TencentBlueKing/bk-bscp/pkg/dal/repository"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/auth"
"github.com/TencentBlueKing/bk-bscp/pkg/kit"
"github.com/TencentBlueKing/bk-bscp/pkg/logs"
"github.com/TencentBlueKing/bk-bscp/pkg/ratelimiter"
"github.com/TencentBlueKing/bk-bscp/pkg/rest"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/shutdown"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
"github.com/TencentBlueKing/bk-bscp/pkg/tools"
Expand Down
2 changes: 1 addition & 1 deletion cmd/ui/service/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ import (
bscp "github.com/TencentBlueKing/bk-bscp"
"github.com/TencentBlueKing/bk-bscp/docs"
_ "github.com/TencentBlueKing/bk-bscp/docs" // 文档自动注册到 swagger
"github.com/TencentBlueKing/bk-bscp/internal/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/cc"
"github.com/TencentBlueKing/bk-bscp/pkg/config"
"github.com/TencentBlueKing/bk-bscp/pkg/iam/auth"
"github.com/TencentBlueKing/bk-bscp/pkg/metrics"
"github.com/TencentBlueKing/bk-bscp/pkg/runtime/handler"
"github.com/TencentBlueKing/bk-bscp/pkg/serviced"
)

Expand Down
Loading