ginuerzh
|
b3424b769e
|
fix(handler/api): add nil guard, propagate Shutdown error, doc comments, 20 tests
- Return errHandlerNotInitialized when Handle called before Init
- Propagate s.Shutdown(ctx) error instead of silently discarding
- Add doc comments to all exported symbols
- Add 20 tests covering constructor, init, metadata parsing, HTTP
endpoints via httptest, Handle lifecycle, singleConnListener, and
compile-time interface assertions
|
2026-05-26 20:44:23 +08:00 |
|