kataras / kataras/iris

Is there a way to dynamically add routes?

Open
#1,732 4 comments 0 reactions 0 assignees View on GitHub
🤔 type:question
Dominant language
Go
Stars
25.6k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

I need to serve a static directory which passed by users after the program starts, I tried `CreateRoutes` but it didn't work.
Is there any way to achieve this requirement?

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reading the CreateRoutes API and the framework's static-directory serving entry points, then verify whether routes can be added after startup. Done means establishing a supported approach or clearly documenting that the requested behavior is unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.