added namespace option

This commit is contained in:
A.Unger
2019-12-18 12:51:09 +01:00
parent da729b6319
commit d6a80470f2
2 changed files with 14 additions and 6 deletions
+1 -1
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("phoenix"),
http.Version(version.String),
http.Address(options.Config.HTTP.Addr),