1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-23 21:44:41 +02:00

Make the debug handler an actual thing that can be set by users

This commit is contained in:
Asim
2016-01-06 19:24:54 +00:00
parent 66107fd304
commit 76918fc703
9 changed files with 137 additions and 91 deletions

View File

@@ -290,7 +290,7 @@ func (s *rpcServer) Deregister() error {
}
func (s *rpcServer) Start() error {
registerHealthChecker(s)
registerDebugHandler(s)
config := s.Options()
ts, err := config.Transport.Listen(config.Address)