update deps && structs && hooks #147

Merged
vtolstov merged 10 commits from devstigneev/micro-broker-kgo:v3 into v3 2024-12-20 00:02:25 +03:00
3 changed files with 6 additions and 8 deletions
Showing only changes of commit 1ba02ed8ad - Show all commits

View File

@ -10,7 +10,6 @@ linters:
- unused
- gosimple
- govet
- goimports
- prealloc
- unconvert
- nakedret

View File

@ -10,11 +10,10 @@ import (
type event struct {
msg *broker.Message
err error
ctx context.Context
topic string
ctx context.Context
sync.RWMutex
ack bool
}

2
kgo.go
View File

@ -61,7 +61,7 @@ type Broker struct {
connected *atomic.Uint32
kopts []kgo.Opt
subs []*subscriber
subs []*Subscriber
opts broker.Options