schema

package
v0.0.0-...-5c7d83b Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2014 License: MIT Imports: 0 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Username string `json:"username"` // The username
	Token    string `json:"token"`    // The JWT token
}

Auth holds the authentication information for a user. It is passed back to a client when they successfully login.

type User

type User struct {
	Email    string `json:"email"`
	Fullname string `json:"fullname"`
}

User describes an individual user in the system.

Jump to

Keyboard shortcuts

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