userscontroller

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserController

type UserController struct {
	Interactor usecase.UserInteractor
}

UserController ...

func NewUserController

func NewUserController(sqlHandler database.SQLHandler) *UserController

NewUserController ...

func (*UserController) Create

func (c *UserController) Create(w http.ResponseWriter, r *http.Request)

Create ...

func (*UserController) Delete

func (c *UserController) Delete(w http.ResponseWriter, r *http.Request)

Delete ...

func (*UserController) FindAll

func (c *UserController) FindAll(w http.ResponseWriter, r *http.Request)

FindAll ...

func (*UserController) Update

func (c *UserController) Update(w http.ResponseWriter, r *http.Request)

Update ...

Jump to

Keyboard shortcuts

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