Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeCookie ¶
func MakeCookie(req *http.Request, name string, value string, path string, domain string, httpOnly bool, secure bool, expiration time.Duration, now time.Time) *http.Cookie
MakeCookie constructs a cookie from the given parameters, discovering the domain from the request if not specified.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.