Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexAction ¶
func IndexAction(rw http.ResponseWriter, r *http.Request, p httprouter.Params)
Types ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(db *gorm.DB) *UserController
func (UserController) ActionLogin ¶
func (controller UserController) ActionLogin(rw http.ResponseWriter, r *http.Request)
func (UserController) ActionProfile ¶
func (controller UserController) ActionProfile(rw http.ResponseWriter, r *http.Request)
func (UserController) ActionRegister ¶
func (controller UserController) ActionRegister(rw http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.