Documentation ¶ Index ¶ Variables func Get(key string) (string, error) func Set(key, value string) Constants ¶ This section is empty. Variables ¶ View Source var ( // ErrCookieNotFound if cookie not found ErrCookieNotFound = errors.New("cookie not found") // ErrInvalidCookie if cookie is invalid ErrInvalidCookie = errors.New("invalid cookie") ) Functions ¶ func Get ¶ func Get(key string) (string, error) Get get cookie by cookie name func Set ¶ func Set(key, value string) Set set cookie by key and value Types ¶ This section is empty. Source Files ¶ View all Source files cookie.go Click to show internal directories. Click to hide internal directories.