feat: add dependency shutdown and configurable service endpoints
This commit is contained in:
@@ -16,6 +16,9 @@ type Result struct {
|
||||
Err error
|
||||
BusinessCode any
|
||||
Failed bool
|
||||
// PreserveStatus keeps an explicit protocol status through catalog mapping
|
||||
// and HTTP output (for example, readiness must remain 503 when unhealthy).
|
||||
PreserveStatus bool
|
||||
}
|
||||
|
||||
// IsError preserves failure semantics independently of the HTTP status.
|
||||
|
||||
Reference in New Issue
Block a user