controllers

package
v0.0.0-...-226c3a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CreateInitControllersFn

func CreateInitControllersFn(uc *UsersController) http.InitControllers

Types

type Session

type Session struct {
	Username string `form:"username"`
	Password string `form:"password"`
}

type User

type User struct {
	Username string `form:"username"`
	Password string `form:"password"`
	Email    string `form:"email"`
}

type UsersController

type UsersController struct {
	// contains filtered or unexported fields
}

func NewUsersController

func NewUsersController(logger *zap.Logger, s services.UserService) *UsersController

func (*UsersController) Post

func (usersController *UsersController) Post(c *gin.Context)

func (*UsersController) SignIn

func (usersController *UsersController) SignIn(c *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL