sessions

package
v0.0.0-...-1f9a799 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Session *s.RethinkStore

Functions

func CreateCookie

func CreateCookie(cookieName string, cookieValue string) (*http.Cookie, error)

CreateCookie creates a secure cookie with gorilla securecookies

func DecodeCookie

func DecodeCookie(cookie *http.Cookie) (string, error)

DecodeCookie decodes the cookie and returns the decoded value as a string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL