http

package
v0.0.0-...-8fd2309 Latest Latest
Warning

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

Go to latest
Published: May 15, 2022 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

通过写一个实例类, 把内部的接口通过HTTP协议暴露出去 所以需要依赖内部接口的实现 该实体类, 会实现Gin的Http Handler

func (*Handler) Config

func (h *Handler) Config()

func (*Handler) Name

func (h *Handler) Name() string

func (*Handler) Registry

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

完成了 Http Handler的注册

Jump to

Keyboard shortcuts

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