generated from bep/golibtemplate
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an optional Init func to the server, fix a data race
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
- Loading branch information
Showing
12 changed files
with
471 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.