Set default server auth
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user