Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type MessageMember ¶
type MessagePost ¶
type NewMessage ¶
type NewMessage struct { T Message `json:"Message"` M []MessageMember `json:"MessageMember"` P MessagePost `json:"MessagePost"` }
type Registration ¶
type User ¶
type User struct { ID string Username string EmailAddress string Password []byte UserRole int UserPasswordMd5 sql.NullString ConfirmCode string Active bool }
func (*User) HashPassword ¶
HashPassword with return a bcrypt hash of a string.
func (*User) HashPasswordMd5 ¶
HashPasswordMd5 with return an MD5 hash of a string.
Click to show internal directories.
Click to hide internal directories.