schema

package
v0.0.0-...-2be0f72 Latest Latest
Warning

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

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

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