Skip to content

Dynamically change paths to match while running #4393

@mochi-os

Description

@mochi-os

Feature Description

I'm working on a Gin project that makes extensive use of path parameters (e.g. "/:object/:action"). Now I'm adding a facility where user plugins can add new paths to match, that may contain parameters. Therefore I need to add the new paths to Gin on module load, and remove them on module unload. Plugins can be loaded and unloaded at any time, not just on startup.

Is there a way to do this in Gin? If not, is it something the Gin developers would consider adding in the near future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalGot an idea for a feature that Gin doesn't have currently? Submit your idea here!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions