Skip to content

Commit

Permalink
feat(server/statsview): 增加buildtags nostatsview, 禁用statsview
Browse files Browse the repository at this point in the history
  • Loading branch information
bububa committed Aug 2, 2024
1 parent 6663fb7 commit cea6779
Show file tree
Hide file tree
Showing 9 changed files with 144 additions and 87 deletions.
4 changes: 2 additions & 2 deletions clientplugin/req_rate_limiting_redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"context"
"time"

"github.com/go-redis/redis/v8"
"github.com/go-redis/redis_rate/v9"
"github.com/go-redis/redis_rate/v10"
"github.com/redis/go-redis/v9"
"github.com/smallnest/rpcx/client"
"github.com/smallnest/rpcx/server"
)
Expand Down
56 changes: 31 additions & 25 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ toolchain go1.22.1

require (
github.com/akutz/memconn v0.1.0
github.com/alitto/pond v1.8.3
github.com/alitto/pond v1.9.1
github.com/apache/thrift v0.20.0
github.com/edwingeng/doublejump v1.0.1
github.com/fatih/color v1.16.0
github.com/go-echarts/go-echarts/v2 v2.3.3
github.com/fatih/color v1.17.0
github.com/go-echarts/go-echarts/v2 v2.4.1
github.com/go-ping/ping v1.1.0
github.com/go-redis/redis/v8 v8.11.5
github.com/go-redis/redis_rate/v9 v9.1.2
github.com/go-redis/redis_rate/v10 v10.0.1
github.com/godzie44/go-uring v0.0.0-20220926161041-69611e8b13d5
github.com/gogo/protobuf v1.3.2
github.com/golang/snappy v0.0.4
Expand All @@ -25,27 +24,27 @@ require (
github.com/julienschmidt/httprouter v1.3.0
github.com/kavu/go_reuseport v1.5.0
github.com/kr/pretty v0.2.0
github.com/quic-go/quic-go v0.43.1
github.com/quic-go/quic-go v0.45.2
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475
github.com/redis/go-redis/v9 v9.6.1
github.com/rpcxio/libkv v0.5.1
github.com/rs/cors v1.11.0
github.com/rubyist/circuitbreaker v2.2.1+incompatible
github.com/smallnest/quick v0.2.0
github.com/smallnest/statsview v1.0.1
github.com/soheilhy/cmux v0.1.5
github.com/stretchr/testify v1.8.4
github.com/tinylib/msgp v1.1.9
github.com/stretchr/testify v1.9.0
github.com/tinylib/msgp v1.2.0
github.com/twpayne/go-jsonstruct/v3 v3.0.0
github.com/valyala/fastrand v1.1.0
github.com/vmihailenco/msgpack/v5 v5.3.5
github.com/vmihailenco/msgpack/v5 v5.4.1
github.com/xtaci/kcp-go v5.4.20+incompatible
golang.org/x/net v0.25.0
golang.org/x/net v0.27.0
golang.org/x/sync v0.7.0
google.golang.org/protobuf v1.34.1
google.golang.org/protobuf v1.34.2
)

require (
github.com/StackExchange/wmi v1.2.1 // indirect
github.com/cenk/backoff v2.2.1+incompatible // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
Expand All @@ -57,34 +56,41 @@ require (
github.com/fatih/structtag v1.2.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-redis/redis/v8 v8.11.5 // indirect
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
github.com/google/pprof v0.0.0-20240430035430-e4905b036c4e // indirect
github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
github.com/klauspost/reedsolomon v1.12.1 // indirect
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/klauspost/reedsolomon v1.12.3 // indirect
github.com/kr/text v0.1.0 // indirect
github.com/libp2p/go-sockaddr v0.2.0 // indirect
github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/miekg/dns v1.1.59 // indirect
github.com/onsi/ginkgo/v2 v2.17.2 // indirect
github.com/miekg/dns v1.1.61 // indirect
github.com/onsi/ginkgo/v2 v2.19.1 // indirect
github.com/peterbourgon/g2s v0.0.0-20140925154142-ec76db4c1ac1 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/philhofer/fwd v1.1.3-0.20240612014219-fbbf4953d986 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/shirou/gopsutil/v3 v3.20.10 // indirect
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
github.com/shirou/gopsutil/v3 v3.24.5 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/templexxx/cpufeat v0.0.0-20180724012125-cef66df7f161 // indirect
github.com/templexxx/xor v0.0.0-20191217153810-f85b25db303b // indirect
github.com/tjfoc/gmsm v1.4.1 // indirect
github.com/tklauser/go-sysconf v0.3.14 // indirect
github.com/tklauser/numcpus v0.8.0 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/xtaci/lossyconn v0.0.0-20200209145036-adba10fffc37 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.uber.org/mock v0.4.0 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/text v0.15.0 // indirect
golang.org/x/tools v0.21.0 // indirect
golang.org/x/crypto v0.25.0 // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/mod v0.19.0 // indirect
golang.org/x/sys v0.22.0 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/tools v0.23.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit cea6779

Please sign in to comment.