fix namespace server issue
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
e127547799
commit
8fa8afdfa4
@ -71,11 +71,12 @@ func NewOptions(opts ...Option) Options {
|
|||||||
Tracer: tracer.DefaultTracer,
|
Tracer: tracer.DefaultTracer,
|
||||||
Broker: broker.DefaultBroker,
|
Broker: broker.DefaultBroker,
|
||||||
Registry: registry.DefaultRegistry,
|
Registry: registry.DefaultRegistry,
|
||||||
|
Transport: transport.DefaultTransport,
|
||||||
Address: DefaultAddress,
|
Address: DefaultAddress,
|
||||||
Name: DefaultName,
|
Name: DefaultName,
|
||||||
Version: DefaultVersion,
|
Version: DefaultVersion,
|
||||||
Id: DefaultId,
|
Id: DefaultId,
|
||||||
Transport: transport.DefaultTransport,
|
Namespace: DefaultNamespace,
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, o := range opts {
|
for _, o := range opts {
|
||||||
|
@ -144,4 +144,5 @@ var (
|
|||||||
DefaultRegisterCheck = func(context.Context) error { return nil }
|
DefaultRegisterCheck = func(context.Context) error { return nil }
|
||||||
DefaultRegisterInterval = time.Second * 30
|
DefaultRegisterInterval = time.Second * 30
|
||||||
DefaultRegisterTTL = time.Second * 90
|
DefaultRegisterTTL = time.Second * 90
|
||||||
|
DefaultNamespace = "micro"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user