Skip to content

Commit

Permalink
feat: add selector node filter demo (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenqidebaozi authored Nov 19, 2023
1 parent c2d361c commit b1ea527
Show file tree
Hide file tree
Showing 5 changed files with 1,209 additions and 56 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
strategy:
matrix:
go: [ 1.16, 1.17 ]
go: [ 1.20.x, 1.21.x ]
name: build & test
runs-on: ubuntu-latest
services:
Expand All @@ -25,7 +25,7 @@ jobs:
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
ETCD_ADVERTISE_CLIENT_URLS: http://0.0.0.0:2379
consul:
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8500:8500
nacos:
Expand Down
22 changes: 11 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.16
require (
entgo.io/ent v0.9.0
github.com/BurntSushi/toml v0.3.1
github.com/envoyproxy/protoc-gen-validate v0.6.2
github.com/envoyproxy/protoc-gen-validate v1.0.1
github.com/gin-gonic/gin v1.7.7
github.com/go-kratos/gin v0.1.0
github.com/go-kratos/kratos/contrib/config/apollo/v2 v2.0.0-20220309025117-4387085047b9
Expand All @@ -17,18 +17,18 @@ require (
github.com/go-kratos/kratos/contrib/registry/eureka/v2 v2.0.0-20220330020930-99a0646acb98
github.com/go-kratos/kratos/contrib/registry/nacos/v2 v2.0.0-20220309025117-4387085047b9
github.com/go-kratos/kratos/contrib/registry/zookeeper/v2 v2.0.0-20220309025117-4387085047b9
github.com/go-kratos/kratos/v2 v2.2.1
github.com/go-kratos/kratos/v2 v2.7.1
github.com/go-kratos/swagger-api v1.0.0
github.com/go-redis/redis/extra/redisotel v0.3.0
github.com/go-redis/redis/v8 v8.11.2
github.com/go-sql-driver/mysql v1.6.0
github.com/golang-jwt/jwt/v4 v4.2.0
github.com/golang-jwt/jwt/v4 v4.5.0
github.com/google/wire v0.5.0
github.com/gorilla/handlers v1.5.1
github.com/gorilla/mux v1.8.0
github.com/gorilla/securecookie v1.1.1
github.com/gorilla/websocket v1.4.2
github.com/grpc-ecosystem/grpc-gateway/v2 v2.5.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0
github.com/hashicorp/consul/api v1.12.0
github.com/labstack/echo/v4 v4.6.3
github.com/nacos-group/nacos-sdk-go v1.0.9
Expand All @@ -40,16 +40,16 @@ require (
github.com/xuri/excelize/v2 v2.6.1
go.etcd.io/etcd/client/v3 v3.5.1
go.mongodb.org/mongo-driver v1.10.3
go.opentelemetry.io/otel v1.3.0
go.opentelemetry.io/otel v1.16.0
go.opentelemetry.io/otel/exporters/jaeger v1.3.0
go.opentelemetry.io/otel/sdk v1.3.0
go.opentelemetry.io/otel/trace v1.3.0
go.opentelemetry.io/otel/sdk v1.16.0
go.opentelemetry.io/otel/trace v1.16.0
go.uber.org/zap v1.19.0
golang.org/x/text v0.3.7
google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350
google.golang.org/grpc v1.44.0
golang.org/x/text v0.11.0
google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529
google.golang.org/grpc v1.56.1
google.golang.org/grpc/examples v0.0.0-20220105183818-2fb1ac854b20 // indirect
google.golang.org/protobuf v1.27.1
google.golang.org/protobuf v1.31.0
gorm.io/driver/mysql v1.3.2
gorm.io/gorm v1.23.2
)
Loading

0 comments on commit b1ea527

Please sign in to comment.