sessions

package
v0.0.0-...-8bb3452 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package sessions resolves session related issues

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CsrfToken

func CsrfToken(w http.ResponseWriter, r *http.Request)

CsrfToken will generate a CSRF Token

func GoodSession

func GoodSession(r *http.Request) bool

GoodSession returns true or false depending on if the session is active

func ValidSession

func ValidSession(w http.ResponseWriter, r *http.Request)

ValidSession checks that the session is valid and can user can make requests

Types

This section is empty.

Jump to

Keyboard shortcuts

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