()
| 101 | } |
| 102 | |
| 103 | func (s *Server) RegisterRouters() { |
| 104 | for _, i := range s.appendRegistrant() { |
| 105 | i.RegisterTo(s.engine) |
| 106 | } |
| 107 | trouter.RegisterTo(s.engine) |
| 108 | } |
| 109 | |
| 110 | func (s *Server) appendRegistrant() []registrant.Registrant { |
| 111 | // contains routers supported in CE and EE |
no test coverage detected