entity

package
v0.0.0-...-1979335 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 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 Registry

type Registry struct {
	ID       int    `json:"ID" storm:"id,increment"`
	Server   string `json:"Server" storm:"unique"`
	Username string `json:"Username"`
	Password string `json:"-"`
	Token    string `json:"Token"`
}

Registry entity

type User

type User struct {
	ID        int    `storm:"ID,increment"`
	FirstName string `json:"FirstName"`
	LastName  string `json:"LastName"`
	Email     string `json:"Email" storm:"unique"`
	Password  string `json:"-"`
	Salt      string `json:"-"`
	Role      int    `json:"Role"`
}

User entity

Jump to

Keyboard shortcuts

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