Back to godoc.org

Package session

v0.0.0-...-7e4b5ca
Latest Go to latest

The highest tagged major version is .

Published: Feb 15, 2016 | License: MIT | Module: github.com/Pholey/Exgo

Index

func Create

func Create(c *gin.Context)

Create - Create a user

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier