handler

package
v0.0.0-...-b2f019a Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserHandler

type UserHandler interface {
	CreateUser(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
	GetAllUsers(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
	GetUser(w http.ResponseWriter, r *http.Request, ps httprouter.Params)
}

UserHandler routerのHTTPハンドラー処理

func NewUserHandler

func NewUserHandler(uc controllers.UserController, log logs.Logger) UserHandler

NewUserHandler routerのHTTPハンドラー処理。adapter/controllersを呼び出す [この関数をwireでDI]

Jump to

Keyboard shortcuts

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