api

package
v0.0.0-...-ad531c1 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 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 Handler

type Handler struct {

	// 提供一个空结构体,用于默认实现方法
	ioc.GinDefault
	// contains filtered or unexported fields
}

Handler 通过一个实体类,把内部接口用HTTP暴露出去【控制层Controller】

func (*Handler) FavoriteAction

func (h *Handler) FavoriteAction(c *gin.Context) error

func (*Handler) GetFavoriteList

func (h *Handler) GetFavoriteList(c *gin.Context) error

func (*Handler) Init

func (h *Handler) Init() error

Init 初始化Handler对象

func (*Handler) Name

func (h *Handler) Name() string

func (*Handler) RegistryWithMiddle

func (h *Handler) RegistryWithMiddle(r gin.IRoutes)

Jump to

Keyboard shortcuts

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