Guides
Guides

To access a cookie value you can use the Context.Cookie method. To set cookies you can use the Context.SetCookie method.

Reading cookies:

v, err := ctx.Cookie("foo")

Storing cookies:

ctx.SetCookie("foo", "bar")

🚧

Alert

Note that cookies are explicitly set when calling the method SetCookie. Which means there is no encryption so far.