http

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

@Title @Description @Author Wangwengang 2023/12/12 00:45 @Update Wangwengang 2023/12/12 00:45

@Title @Description @Author Wangwengang 2023/12/12 00:40 @Update Wangwengang 2023/12/12 00:40

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinEngine

type GinEngine struct {
	PublicRouterGroup  *gin.RouterGroup
	PrivateRouterGroup *gin.RouterGroup
	// contains filtered or unexported fields
}

func NewGinEngine

func NewGinEngine(config *sconfig.Gateway, ln *quic.EarlyListener, connTcp net.Listener) *GinEngine

func (*GinEngine) AddPrivateHandle

func (g *GinEngine) AddPrivateHandle()

func (*GinEngine) AddPublicHandle

func (g *GinEngine) AddPublicHandle(route string)

func (*GinEngine) GetEngine

func (g *GinEngine) GetEngine() *gin.Engine

func (*GinEngine) GetPrivateRouterGroup

func (g *GinEngine) GetPrivateRouterGroup() *gin.RouterGroup

func (*GinEngine) GetPublicRouterGroup

func (g *GinEngine) GetPublicRouterGroup() *gin.RouterGroup

func (*GinEngine) Serve

func (g *GinEngine) Serve()

type HttpServer

type HttpServer interface {
	Serve()
}

Jump to

Keyboard shortcuts

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