Set default server auth
This commit is contained in:
parent
dea2d7ab9f
commit
49a568e9c0
@ -60,6 +60,10 @@ func newOptions(opt ...Option) Options {
|
||||
o(&opts)
|
||||
}
|
||||
|
||||
if opts.Auth == nil {
|
||||
opts.Auth = auth.DefaultAuth
|
||||
}
|
||||
|
||||
if opts.Broker == nil {
|
||||
opts.Broker = broker.DefaultBroker
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user