gologin: github.com/dghubble/gologin/internal Index | Files

package internal

import "github.com/dghubble/gologin/internal"


Package Files


func NewCookie Uses

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.

Package internal imports 3 packages (graph) and is imported by 8 packages. Updated 2019-08-13. Refresh now. Tools for package owners.