use namespace option

This commit is contained in:
A.Unger
2019-12-24 11:52:48 +01:00
parent 003a124071
commit 10845d532f
2 changed files with 1 additions and 1 deletions

View File

Binary file not shown.

View File

@@ -13,7 +13,7 @@ func Server(opts ...Option) (http.Service, error) {
service := http.NewService(
http.Logger(options.Logger),
http.Namespace("go.micro.web"),
http.Namespace(options.Namespace),
http.Name("ocs"),
http.Version(version.String),
http.Address(options.Config.HTTP.Addr),