auth

package
v0.0.0-...-4aad6dd Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JKEY string

JKEY encryption key

View Source
var JPASS string

JPASS server password

Functions

func CheckToken

func CheckToken(tokenString string) (string, error)

CheckToken verfies a token

func CreateToken

func CreateToken(username string) (string, error)

CreateToken genreate a new token

func Init

func Init()

Init get the password and key from environment variables

Types

This section is empty.

Jump to

Keyboard shortcuts

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