 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CookieStore ¶
type CookieStore struct {
	// contains filtered or unexported fields
}
    func NewCookieStore ¶
func NewCookieStore(cookieName string) *CookieStore
func (*CookieStore) Delete ¶
func (cs *CookieStore) Delete(w http.ResponseWriter)
Delete deletes the session cookie
func (*CookieStore) Get ¶
func (cs *CookieStore) Get(r *http.Request) (string, bool)
Get retrieves the session data from the cookie
func (*CookieStore) Set ¶
func (cs *CookieStore) Set(w http.ResponseWriter, value string, ttl time.Duration)
Set sets the session data as a cookie
 Click to show internal directories. 
   Click to hide internal directories.