1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-26 13:25:56 +00:00

New XMLMap func which makes a map value type an xml compatible content to render and give option to render a Problem as XML - rel to #1335

Former-commit-id: dcf21098ff7af6becfa9896df5f82c3b0b53f0ac
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-08-16 19:18:46 +03:00
parent 8d188817a6
commit 75ea978194
5 changed files with 165 additions and 48 deletions

View File

@@ -67,7 +67,10 @@ type (
//
// It is an alias of the `context#JSON` type.
JSON = context.JSON
// XML the optional settings for XML renderer.
//
// It is an alias of the `context#XML` type.
XML = context.XML
// Supervisor is a shortcut of the `host#Supervisor`.
// Used to add supervisor configurators on common Runners
// without the need of importing the `core/host` package.