Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Go
/
Go
Which action implements a bounded graceful shutdown for an `http.Server`?
from Go
intermediate
1 min
Which action implements a bounded graceful shutdown for an `http.Server`?
Call `Shutdown` with a timeout context so in-flight requests get a bounded chance to finish.
Call `os.Exit` from the signal handler before waiting for handlers.
Close every client connection immediately and wait without a deadline.
Check
Ask AI about this kata
Report an error
previous kata
Name the `bufio.Writer` method that pushes buffered bytes to the underlying writer
Fill in
next kata
Name the `http.ResponseWriter` method after which changing ordinary response headers is t…
Fill in
A new version is available
Reload