Documentation ¶
Index ¶
- Constants
- type LoginRequest
- type PrivateUser
- type PublicUser
- type User
- func (user *User) Delete() *errors.RestErr
- func (user *User) FindByEmailAndPassword() *errors.RestErr
- func (user *User) FindByStatus(status string) ([]User, *errors.RestErr)
- func (user *User) Get() *errors.RestErr
- func (user *User) Marshall(isPublic bool) interface{}
- func (user *User) Save() *errors.RestErr
- func (user *User) Update() *errors.RestErr
- func (user *User) Validate() *errors.RestErr
- type Users
Constants ¶
View Source
const (
StatusActive = "active"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginRequest ¶
type PrivateUser ¶
type PublicUser ¶
Click to show internal directories.
Click to hide internal directories.