handler

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package handler is a package of http request processing business logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserExamplePbHandler

func NewUserExamplePbHandler() serverNameExampleV1.UserExampleLogicer

NewUserExamplePbHandler create a handler

Types

type UserExampleHandler

type UserExampleHandler interface {
	Create(c *gin.Context)
	DeleteByID(c *gin.Context)
	DeleteByIDs(c *gin.Context)
	UpdateByID(c *gin.Context)
	GetByID(c *gin.Context)
	GetByCondition(c *gin.Context)
	ListByIDs(c *gin.Context)
	List(c *gin.Context)
}

UserExampleHandler defining the handler interface

func NewUserExampleHandler

func NewUserExampleHandler() UserExampleHandler

NewUserExampleHandler creating the handler interface

Jump to

Keyboard shortcuts

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