Description

NewCookie is a helper method that returns a new http.Cookie object. Duration is specified in seconds. If the duration is zero, the cookie is permanent. This can be used in conjunction with ctx.SetCookie.

NewCookie is referenced in 22 repositories

github.com/hoisie/web github.com/Craftserve/web github.com/custa/web

...