rename NewPatRouter to NewRouter

This commit is contained in:
kevin
2020-10-20 14:23:21 +08:00
parent dfe6e88529
commit 737cd4751a
4 changed files with 46 additions and 46 deletions

View File

@@ -57,7 +57,7 @@ func (s *engine) SetUnsignedCallback(callback handler.UnsignedCallback) {
}
func (s *engine) Start() error {
return s.StartWithRouter(router.NewPatRouter())
return s.StartWithRouter(router.NewRouter())
}
func (s *engine) StartWithRouter(router httpx.Router) error {