This commit is contained in:
Asim Aslam 2019-08-15 08:47:32 +01:00
parent 2dd5109eee
commit 0f6d09af33

View File

@ -10,7 +10,7 @@ import (
"github.com/micro/go-micro/server" "github.com/micro/go-micro/server"
) )
// Server is a proxy muxer that incudes the use of the DefaultHandler // Server is a proxy muxer that incudes the use of the DefaultHandler
type Server struct { type Server struct {
// name of service // name of service
Name string Name string
@ -41,7 +41,7 @@ func New(name string, p proxy.Proxy) *Server {
}) })
return &Server{ return &Server{
Name: name, Name: name,
Proxy: p, Proxy: p,
} }
} }