http

package
v0.0.0-...-9a03492 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 4 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 {
	// contains filtered or unexported fields
}

通过实体类, 把内部接口通过HTTP协议对外暴露 依赖内部接口的实现

func NewHostHttpHandler

func NewHostHttpHandler() *Handler

通过Host API 提供RestFul接口

func (*Handler) GetIocConfig

func (h *Handler) GetIocConfig()

从Ioc里面获取HostService的实例对象

func (*Handler) Registry

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

handler和gin结合 完成http Handler的注册

Jump to

Keyboard shortcuts

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