package
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Oct 24, 2019
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
-
func CreateCookie(name, value, domain, path string, maxage int, httpOnly bool) (*http.Cookie, error)
-
func DebugRequest(ip, port, endpoint string) error
-
func ServeCookie(ip, port, endpoint, name, value, domain, path string, maxage int, ...) error
CreateCookie is delegated to initialize and set a cookie
DebugRequest is delegated to print the request data for debug purpouse
func ServeCookie(ip, port, endpoint, name, value, domain, path string, maxage int, httpOnly bool) error
ServeCookie is delegated to set a cookie and shutdown the server after the first call
Source Files
¶
Click to show internal directories.
Click to hide internal directories.