mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 02:31:04 +01:00
comment fix as reported at #1574
This commit is contained in:
parent
46a3a99adf
commit
5de9d0f63e
8
NOTICE
8
NOTICE
|
@ -6,7 +6,7 @@
|
|||
|
||||
The following 3rd-party software packages may be used by or distributed with iris. This document was automatically generated by FOSSA on 2020-5-8; any information relevant to third-party vendors listed below are collected using common, reasonable means.
|
||||
|
||||
Revision ID: 6844be57ea3a098ef28fce3468959bf5bb6f735a
|
||||
Revision ID: 46a3a99adf457d30ea4aeb13ada45e895130d718
|
||||
|
||||
----------------- ----------------- ------------------------------------------
|
||||
Package Version Website
|
||||
|
@ -26,9 +26,9 @@ Revision ID: 6844be57ea3a098ef28fce3468959bf5bb6f735a
|
|||
bluemonday 0a75d7616912ab9 https://github.com/microcosm-cc/bluemonday
|
||||
beb9cc6f7283ec1
|
||||
917c61b135
|
||||
blocks 39dac49c58634f7 https://github.com/kataras/blocks
|
||||
9bc54fcd5c299da
|
||||
fe08dbd738
|
||||
blocks 2782010d7127295 https://github.com/kataras/blocks
|
||||
d72dc16632c7c0c
|
||||
01dfbf6ceb
|
||||
brotli c3da72aa01ed78f https://github.com/andybalholm/brotli
|
||||
164593b9624fd91
|
||||
d25082d2d2
|
||||
|
|
|
@ -4216,14 +4216,14 @@ func (ctx *Context) UpsertCookie(cookie *http.Cookie, options ...CookieOption) b
|
|||
// SetCookieKVExpiration is 365 days by-default
|
||||
// you can change it or simple, use the SetCookie for more control.
|
||||
//
|
||||
// See CookieExpires` for more.
|
||||
// See `CookieExpires` and `AddCookieOptions` for more.
|
||||
var SetCookieKVExpiration = time.Duration(8760) * time.Hour
|
||||
|
||||
// SetCookieKV adds a cookie, requires the name(string) and the value(string).
|
||||
//
|
||||
// By default it expires at 2 hours and it's added to the root path,
|
||||
// By default it expires after 365 days and it is added to the root URL path,
|
||||
// use the `CookieExpires` and `CookiePath` to modify them.
|
||||
// Alternatively: ctx.SetCookie(&http.Cookie{...})
|
||||
// Alternatively: ctx.SetCookie(&http.Cookie{...}) or ctx.AddCookieOptions(...)
|
||||
//
|
||||
// If you want to set custom the path:
|
||||
// ctx.SetCookieKV(name, value, iris.CookiePath("/custom/path/cookie/will/be/stored"))
|
||||
|
|
2
go.mod
2
go.mod
|
@ -19,7 +19,7 @@ require (
|
|||
github.com/iris-contrib/pongo2 v0.0.1
|
||||
github.com/iris-contrib/schema v0.0.2
|
||||
github.com/json-iterator/go v1.1.10
|
||||
github.com/kataras/blocks v0.0.1
|
||||
github.com/kataras/blocks v0.0.2
|
||||
github.com/kataras/golog v0.0.18
|
||||
github.com/kataras/neffos v0.0.16
|
||||
github.com/kataras/pio v0.0.8
|
||||
|
|
Loading…
Reference in New Issue
Block a user