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 an optional Init func to the server #9

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Add an optional Init func to the server #9

merged 1 commit into from
Apr 3, 2024

Conversation

bep
Copy link
Owner

@bep bep commented Apr 3, 2024

That takes a config struct from the client.

The old way of configuring the server was to pass env vars (which still works), but this was at best very cumbersome.

@bep bep force-pushed the feat/init branch 4 times, most recently from e9b8564 to 09d7173 Compare April 3, 2024 15:38
@bep bep marked this pull request as ready for review April 3, 2024 15:40
That takes a config struct from the client.

The old way of configuring the server was to pass env vars (which still works), but this was at best very cumbersome.

This also fixes a data race when both sending raw (e.g. log messages) and other responses.

Closes #10
@bep bep merged commit 1e0d9d7 into main Apr 3, 2024
6 checks passed
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

1 participant