fasthttp / router

Router implementation for fasthttp
BSD 3-Clause "New" or "Revised" License
465 stars 47 forks source link

Router Reloading #70

Open yuskamal opened 2 months ago

yuskamal commented 2 months ago

it's possibe to reloading router ?

savsgio commented 2 months ago

Hi @yuskamal,

What do you mean by "reload"?

yuskamal commented 2 months ago

Currently, I am able to dynamically generate a list of routes from a database table, and it works as expected.

Next, I want to reload the list of routes from the database so that any changes, such as the removal or addition of routes, will automatically take effect in the application.

However, it turns out that changes do not immediately impact the routes in the running application. Even if I clear the current routes, the application still recognizes all the routes that were initially loaded when it first retrieved them from the database.