http

package
v0.0.0-...-553a587 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: MulanPSL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	API = &Handler{}
)

Functions

This section is empty.

Types

type Handler

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

通过写一个实体类 暴露http

func (*Handler) Config

func (h *Handler) Config()

func (*Handler) HttpCreateHost

func (h *Handler) HttpCreateHost(c *gin.Context)

func (*Handler) HttpDescribeHost

func (h *Handler) HttpDescribeHost(c *gin.Context)

func (*Handler) HttpQueryHost

func (h *Handler) HttpQueryHost(c *gin.Context)

func (*Handler) HttpUpdateHost

func (h *Handler) HttpUpdateHost(c *gin.Context)

func (*Handler) Name

func (h *Handler) Name() string

func (*Handler) Registroy

func (h *Handler) Registroy(r gin.IRouter)

http注册

Jump to

Keyboard shortcuts

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