dd
This commit is contained in:
1 parent
4300a32f6b
commit
8c98346546
3 files changed
+19
-28
No files matched your search
+6
-2
@@ -26,7 +26,11 @@ type Broker struct {
|
||||
remotes sync.Map
|
||||
sl *Sublist
|
||||
rl *RetainList
|
||||
queues map[string]int
|
||||
queues map[string]Queue
|
||||
}
|
||||
type Queue struct {
|
||||
count int
|
||||
index int
|
||||
}
|
||||
|
||||
func NewBroker(config *Config) (*Broker, error) {
|
||||
@@ -35,7 +39,7 @@ func NewBroker(config *Config) (*Broker, error) {
|
||||
config: config,
|
||||
sl: NewSublist(),
|
||||
rl: NewRetainList(),
|
||||
queues: make(map[string]int),
|
||||
queues: make(map[string]Queue),
|
||||
}
|
||||
if b.config.TlsPort != "" {
|
||||
tlsconfig, err := NewTLSConfig(b.config.TlsInfo)
|
||||
|
||||
Reference in new issue
Block a user