1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-08 04:21:57 +00:00
Former-commit-id: 6c03439d21175f120c37a7d8dd067a0d10de837a
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-08-15 10:39:38 +03:00
parent e0af8ab29a
commit c9e9a4b3bc
4 changed files with 154 additions and 12 deletions

11
go19.go
View File

@@ -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