Skip to content

Commit f9caf38

Browse files
committed
Merge branch 'v2-feature-main'
2 parents ff36061 + c6e1777 commit f9caf38

35 files changed

Lines changed: 165 additions & 87 deletions

File tree

cache/memcache/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ go 1.25.0
44

55
require (
66
github.com/bradfitz/gomemcache v0.0.0-20250403215159-8d39553ac7cf
7-
github.com/dobyte/due/v2 v2.5.4
7+
github.com/dobyte/due/v2 v2.5.5
88
golang.org/x/sync v0.20.0
99
)
1010

cache/redis/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/dobyte/due/cache/redis/v2
33
go 1.25.0
44

55
require (
6-
github.com/dobyte/due/v2 v2.5.4
6+
github.com/dobyte/due/v2 v2.5.5
77
github.com/redis/go-redis/v9 v9.17.2
88
golang.org/x/sync v0.20.0
99
)

cluster/gate/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (p *provider) Broadcast(ctx context.Context, kind session.Kind, disconnect
9292
}
9393

9494
// Publish 发布频道消息
95-
func (p *provider) Publish(ctx context.Context, channel string, disconnect bool, message []byte) int64 {
95+
func (p *provider) Publish(ctx context.Context, channel string, disconnect bool, message []byte) (int64, error) {
9696
return p.gate.session.Publish(channel, disconnect, message)
9797
}
9898

component/http/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/dobyte/due/component/http/v2
33
go 1.25.0
44

55
require (
6-
github.com/dobyte/due/v2 v2.5.4
6+
github.com/dobyte/due/v2 v2.5.5
77
github.com/go-openapi/runtime v0.28.0
88
github.com/gofiber/fiber/v3 v3.0.0-rc.3
99
)

config/consul/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/dobyte/due/config/consul/v2
33
go 1.25.0
44

55
require (
6-
github.com/dobyte/due/v2 v2.5.4
6+
github.com/dobyte/due/v2 v2.5.5
77
github.com/hashicorp/consul/api v1.32.0
88
)
99

config/etcd/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/dobyte/due/config/etcd/v2
33
go 1.25.0
44

55
require (
6-
github.com/dobyte/due/v2 v2.5.4
6+
github.com/dobyte/due/v2 v2.5.5
77
go.etcd.io/etcd/api/v3 v3.6.7
88
go.etcd.io/etcd/client/v3 v3.6.7
99
)

config/nacos/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/dobyte/due/config/nacos/v2
33
go 1.25.0
44

55
require (
6-
github.com/dobyte/due/v2 v2.5.4
6+
github.com/dobyte/due/v2 v2.5.5
77
github.com/nacos-group/nacos-sdk-go/v2 v2.3.5
88
)
99

core/info/info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const (
2727
leftBottomBorder = "└"
2828
rightBottomBorder = "┘"
2929
website = "https://github.com/dobyte/due"
30-
version = "v2.5.4"
30+
version = "v2.5.5"
3131
global = "Global"
3232
)
3333

crypto/ecc/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/dobyte/due/crypto/ecc/v2
33
go 1.25.0
44

55
require (
6-
github.com/dobyte/due/v2 v2.5.4
6+
github.com/dobyte/due/v2 v2.5.5
77
github.com/ethereum/go-ethereum v1.12.0
88
)
99

crypto/rsa/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/dobyte/due/crypto/rsa/v2
22

33
go 1.25.0
44

5-
require github.com/dobyte/due/v2 v2.5.4
5+
require github.com/dobyte/due/v2 v2.5.5
66

77
require (
88
dario.cat/mergo v1.0.2 // indirect

0 commit comments

Comments
 (0)