Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCookie ¶
func NewCookie(config gologin.CookieConfig, value string) *http.Cookie
NewCookie returns a new http.Cookie with the given value and CookieConfig properties (name, max-age, etc.).
The MaxAge field is used to determine whether an Expires field should be added for Internet Explorer compatability and what its value should be.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.