ginGonic

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(param NewHandlerParam)

NewHandler generates new http Handler.

Types

type Handler

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

func (*Handler) APICreate

func (h *Handler) APICreate(g *gin.Context)

APICreate serves http API to create user data.

func (*Handler) APIGetAll

func (h *Handler) APIGetAll(g *gin.Context)

APIGetAll serves http API to get all user data.

func (*Handler) Routes

func (h *Handler) Routes()

Routes handles http routes.

type NewHandlerParam

type NewHandlerParam struct {
	Router  *gin.Engine
	UseCase user.UseCaseInterface
}

Jump to

Keyboard shortcuts

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