Documentation
¶
Index ¶
- func Cookie(c *gin.Context)
- func Creates(c *gin.Context)
- type Article
- type Dao
- func (d *Dao) GetAuth(username, password string) (model.Auth, error)
- func (d *Dao) GetRoleId(username string) string
- func (d *Dao) Login(username, password string) (model.User, error)
- func (d Dao) ProfileCreate(desc, img string) (uint, error)
- func (d *Dao) Register(username, password string) (model.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.