Documentation ¶
Overview ¶
Package cookie writes and reads a (not signed and not encrypted) HTTP cookie. It is a small piece of data that a server sends to a user's web browser or other HTTP client. This way server can map HTTP traffic (which is stateless) to a specific client. Cookies are used for:
- Session management (e.g. logins, shopping carts)
- Personalization (e.g. user preferences, themes)
- Tracking (recording and analyzing user behavior)-:
Based on https://www.alexedwards.net/blog/working-with-cookies-in-go
Level: intermediate Topics: web server, net/http
Index ¶
Constants ¶
View Source
const Name = "ExampleCookie"
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.