Discover Packages
github.com/gophergala2016/ring_leader
models
package
Version:
v0.0.0-...-0246943
Opens a new window with list of versions in this module.
Published: Jan 24, 2016
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type ChangeUser struct {
Id int32 `json:"id" binding:"required"`
Email string `json:"email" binding:"required"`
Name string `json:"name" binding:"required"`
}
type CreateUser struct {
Email string `json:"email" binding:"required"`
Name string `json:"name" binding:"required"`
Password string `json:"password" binding:"required"`
}
type LoginUser struct {
Email string `json:"email" binding:"required"`
Password string `json:"password" binding:"required"`
}
type User struct {
Id string `gorethink:"id,omitempty" json:"id"`
Email string `json:"email" gorethink:"email"`
Name string `json:"name" gorethink:"name"`
Salt string `json:"password" gorethink:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.