Documentation ¶
Index ¶
- func AddMessage(c *gin.Context)
- func CreateUser(username string, email string, password string)
- func Follow(c *gin.Context)
- func GetFollower(follower uint, following uint) bool
- func GetMessages(user string, page string) []map[string]interface{}
- func GetUser(username string) model.User
- func Hash(password string) string
- func LimitMessages(page string) (int, int)
- func Login(c *gin.Context)
- func LoginPage(c *gin.Context)
- func Logout(c *gin.Context)
- func PasswordCompare(salt string, password string, hashedPassword string) error
- func Register(c *gin.Context)
- func Salt() string
- func SignUp(c *gin.Context)
- func Timeline(c *gin.Context)
- func Unfollow(c *gin.Context)
- func UserTimeline(c *gin.Context)
- func ValidEmail(email string) bool
- func ValidRegistration(c *gin.Context, username string, email string, password1 string, ...) bool
- func ValidUser(username string, password string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMessage ¶
func CreateUser ¶
func GetFollower ¶
func GetMessages ¶
func LimitMessages ¶
func PasswordCompare ¶
func UserTimeline ¶
func ValidEmail ¶
func ValidRegistration ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.