diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-01-11 10:33:44 -0700 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-01-11 10:33:44 -0700 |
commit | 197d8e4cb0170356dd20755efcf1d336c4c38583 (patch) | |
tree | 20b2e96231a9790ddf8a83c3ce2bcb1cd334ffa4 /gemini/testdata/server.key | |
parent | cc0c7e6eb5b27c3a263352ba40ce8ee5209272a2 (diff) |
Improvements to Server lifecycle.
- NewServer doesn't allocate any resources besides the server object
itself. So eg context.WithCancel is delayed until s.Serve().
- Add a demonstration of graceful shutdown on signals to the cgi
example.
Diffstat (limited to 'gemini/testdata/server.key')
0 files changed, 0 insertions, 0 deletions