[v4] hide access to internal mutex (#185)
* changed embedded mutex to private field * update ci * fix tests
This commit is contained in:
@@ -48,7 +48,6 @@ type Subscriber struct {
|
||||
done chan struct{}
|
||||
kopts broker.Options
|
||||
opts broker.SubscribeOptions
|
||||
|
||||
connected *atomic.Uint32
|
||||
mu sync.RWMutex
|
||||
closed bool
|
||||
|
Reference in New Issue
Block a user