mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 04:21:57 +00:00
add ProblemOptions https://github.com/kataras/iris/issues/1335#issuecomment-521546506
Former-commit-id: 6c03439d21175f120c37a7d8dd067a0d10de837a
This commit is contained in:
11
go19.go
11
go19.go
@@ -56,8 +56,17 @@ type (
|
||||
//
|
||||
// Read more at: https://github.com/kataras/iris/wiki/Routing-error-handlers
|
||||
//
|
||||
// It is an alias of `context.Problem` type.
|
||||
// It is an alias of the `context#Problem` type.
|
||||
Problem = context.Problem
|
||||
// ProblemOptions the optional settings when server replies with a Problem.
|
||||
// See `Context.Problem` method and `Problem` type for more details.
|
||||
//
|
||||
// It is an alias of the `context#ProblemOptions` type.
|
||||
ProblemOptions = context.ProblemOptions
|
||||
// JSON the optional settings for JSON renderer.
|
||||
//
|
||||
// It is an alias of the `context#JSON` type.
|
||||
JSON = context.JSON
|
||||
|
||||
// Supervisor is a shortcut of the `host#Supervisor`.
|
||||
// Used to add supervisor configurators on common Runners
|
||||
|
||||
Reference in New Issue
Block a user