session

package
v0.0.0-...-7e4b5ca Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(c *gin.Context)

Create - Create a user

Types

type User

type User struct {
	Salt       []byte `db:"salt"`
	Iterations int    `db:"password_iterations"`
	Hash       int    `db:"password_hash"`
	Password   string `json:"password"`
	UserName   string `db:"username" json:"userName"`
	Name       string `db:"name"     json:"name"`
	Email      string `db:"email"    json:"email"`
}

User - Struct for dealing with users

type Users

type Users []User

Users - Our array of users

Jump to

Keyboard shortcuts

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