summaryrefslogtreecommitdiff
path: root/spartan
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-01-11 10:33:44 -0700
committertjpcc <tjp@ctrl-c.club>2023-01-11 10:33:44 -0700
commit197d8e4cb0170356dd20755efcf1d336c4c38583 (patch)
tree20b2e96231a9790ddf8a83c3ce2bcb1cd334ffa4 /spartan
parentcc0c7e6eb5b27c3a263352ba40ce8ee5209272a2 (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 'spartan')
0 files changed, 0 insertions, 0 deletions