users

package
v0.0.0-...-85d39bf Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

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

Login ... Not the greatest solution but it'll work for a quick prototype

func Signup

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

Signup ... Not the greatest solution but it'll work for a quick prototype

Types

type User

type User struct {
	Name     string `json:"name" bson:"name"`
	Username string `json:"username" bson:"username"`
	Password string `json:"password" bson:"password"`
	Email    string `json:"email" bson:"email"`
	ID       string `json:"_id" bson:"_id"`
}

User ...

Jump to

Keyboard shortcuts

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