api

package
v0.0.0-...-6a8978f Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 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 HTTPAPI

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

HTTPAPI 定义用来 对外暴露HTTP服务,注册给协议Server(HTTP Server, Gin)

func NewHTTPAPI

func NewHTTPAPI() *HTTPAPI

func (*HTTPAPI) AddTag

func (h *HTTPAPI) AddTag(c *gin.Context)

func (*HTTPAPI) Init

func (h *HTTPAPI) Init() error

func (*HTTPAPI) Name

func (h *HTTPAPI) Name() string

func (*HTTPAPI) Registry

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

URI 注册给 Gin

func (*HTTPAPI) RemoveTag

func (h *HTTPAPI) RemoveTag(c *gin.Context)

Jump to

Keyboard shortcuts

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