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

feat: contained router interface #3

Closed
wants to merge 41 commits into from
Closed

Conversation

barelyhuman
Copy link
Owner

Move the router out of the kernels and into a segregated instance.
Also implement a context mapper to be able to unify how prev works with different kernels

@barelyhuman barelyhuman marked this pull request as draft May 18, 2023 21:07
@barelyhuman barelyhuman self-assigned this May 18, 2023
Shofiya2003 and others added 3 commits May 20, 2023 15:30
…ng (#2)

* created a server class to have a single instance of hono server running

* created init and close server in Server class and used them in cli.js

* refactor: move logger into a shared util

* refactor: contain the server creation

and also init logic into the kernel file

---------

Co-authored-by: Reaper Gelera <ahoy@barelyhuman.dev>
adds a basic route register that handles
the method abstraction which can then be
used by kernels to create routes from.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants