1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

add grpc listen tip

This commit is contained in:
Tony 2019-07-20 00:09:11 +08:00
parent 1f8c83af6e
commit 59911e3bed

View File

@ -304,6 +304,7 @@ func (s *Server) Start() (*Server, error) {
if err != nil {
return nil, err
}
log.Info("start grpc listen addr: %v", lis.Addr())
reflection.Register(s.server)
go func() {
if err := s.Serve(lis); err != nil {