refactor: cluster

This commit is contained in:
tangtaoit
2024-04-28 23:09:39 +08:00
parent a797722311
commit f874186bdb
48 changed files with 869 additions and 836 deletions

11
go.mod
View File

@@ -4,7 +4,7 @@ go 1.20
require (
github.com/RussellLuo/timingwheel v0.0.0-20220218152713-54845bda3108
github.com/WuKongIM/WuKongIMGoProto v0.0.0-20240428084126-e0911b8916b6
github.com/WuKongIM/WuKongIMGoProto v1.0.2
github.com/bwmarrin/snowflake v0.3.0
github.com/cockroachdb/pebble v1.0.0
github.com/eapache/queue v1.1.0
@@ -21,14 +21,8 @@ require (
github.com/panjf2000/gnet/v2 v2.2.5
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.18.0
github.com/robfig/cron/v3 v3.0.0
github.com/sasha-s/go-deadlock v0.3.1
github.com/sendgrid/rest v2.6.9+incompatible
github.com/stretchr/testify v1.8.4
github.com/tidwall/gjson v1.16.0
github.com/tidwall/tinylru v1.2.1
github.com/tysonmote/gommap v0.0.2
go.etcd.io/bbolt v1.3.7
go.etcd.io/etcd/pkg/v3 v3.5.9
go.etcd.io/raft/v3 v3.0.0-20230805183326-89c97ed7f982
go.opentelemetry.io/otel v1.24.0
@@ -86,14 +80,11 @@ require (
github.com/miekg/dns v1.1.26 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect
github.com/prometheus/client_model v0.6.0 // indirect
github.com/prometheus/common v0.45.0 // indirect
github.com/prometheus/procfs v0.12.0 // indirect
github.com/rogpeppe/go-internal v1.10.0 // indirect
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.0 // indirect
github.com/ugorji/go/codec v1.2.7 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0 // indirect