controllers

package
v0.0.0-...-6e899b3 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Code    int
	Message string
}

func NewError

func NewError(code int, message string) *Error

type UserController

type UserController struct {
	Interactor usecase.UserInteractor
}

func NewUserController

func NewUserController(conn *gorm.DB, logger interfaces.Logger) *UserController

func (*UserController) Create

func (controller *UserController) Create(c interfaces.Context)

Jump to

Keyboard shortcuts

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