Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for extending the ktor server #82

Open
ningsuhen opened this issue Jun 28, 2024 · 2 comments
Open

Add support for extending the ktor server #82

ningsuhen opened this issue Jun 28, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ningsuhen
Copy link

The embedded ktor server has some default routes. It would be nice if I can add a few custom routes to display other stats or data. exposing the server or a way to pass additional modules to the ktor embedded application will help.

@jbaron
Copy link
Collaborator

jbaron commented Jun 28, 2024

Can see how to make it easier to extend. Could make some classes and properties non final.

Out of curiosity, do you have particular use cases in mind of things you would like to add?

@jbaron jbaron added the enhancement New feature or request label Jun 29, 2024
@ningsuhen
Copy link
Author

Sure, there are few use cases I have now but they could be very personalized for my strategies.

  1. I use the configuration as limits for the strategies and I want to display them in the UI.
  2. I want to store some highs and lows across restarts in redis. So, I want to be able to view the values from redis via the web UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants