mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
minor
This commit is contained in:
parent
4f81478ad6
commit
60e19de9e2
|
@ -3971,6 +3971,7 @@ const jsonOptionsContextKey = "iris.context.json_options"
|
||||||
// ctx.SetJSONOptions(iris.JSON{
|
// ctx.SetJSONOptions(iris.JSON{
|
||||||
// ErrorHandler: errHandler,
|
// ErrorHandler: errHandler,
|
||||||
// })
|
// })
|
||||||
|
// ctx.Next()
|
||||||
// })
|
// })
|
||||||
func (ctx *Context) SetJSONOptions(opts JSON) {
|
func (ctx *Context) SetJSONOptions(opts JSON) {
|
||||||
ctx.values.Set(jsonOptionsContextKey, opts)
|
ctx.values.Set(jsonOptionsContextKey, opts)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user