helpers

package
v0.0.0-...-8430c91 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2015 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentSession

func CurrentSession(c web.C) *sessions.Session

CurrentSession returns the current session

func CurrentUser

func CurrentUser(c web.C) (data.User, error)

CurrentUser returns the current user

func UserSignedIn

func UserSignedIn(c web.C) bool

UserSignedIn returns true if there is an authenticated user

Types

This section is empty.

Jump to

Keyboard shortcuts

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