Documentation
¶
Overview ¶
Package cookie contains helper functions for setting cookie values.
Index ¶
- func Domain(domain string) func(*http.Cookie)
- func Expires(expires time.Time) func(*http.Cookie)
- func HTTPOnly(httpOnly bool) func(*http.Cookie)
- func HttpOnly(httpOnly bool) func(*http.Cookie)
- func MaxAge(maxAge int) func(*http.Cookie)
- func Path(path string) func(*http.Cookie)
- func SameSite(sameSite http.SameSite) func(*http.Cookie)
- func Secure(secure bool) func(*http.Cookie)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.