package
module
Version:
v0.0.0-...-52dac14
Opens a new window with list of versions in this module.
Published: Jan 22, 2017
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Gopherjs Cookie Library
This Library implements convenience functions for manipulating Cookie
in a Gopherjs application.
Documentation
¶
Delete removes a cookie specified by name
Get returns a given cookie by name. If the cookie is not set, ok will be
set to false
Set adds a cookie to a user's browser with a name, value, expiry and path
value, path and expires can be omitted
SetString sets a cookie given a correctly formatted cookie string
i.e "username=John Smith; expires=Thu, 18 Dec 2013 12:00:00 UTC; path=/"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.