server

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpProxySrvHandler *http.Server
	HttpsSrvHandler     *http.Server
)
View Source
var (
	HttpSrvHandler *http.Server
)

Functions

func HttpProxyServerRun

func HttpProxyServerRun()

func HttpProxyServerStop

func HttpProxyServerStop()

func HttpServerRun

func HttpServerRun()

func HttpServerStop

func HttpServerStop()

func HttpsProxyServerRun

func HttpsProxyServerRun()

func HttpsProxyServerStop

func HttpsProxyServerStop()

Types

type GrpcManager

type GrpcManager struct {
	ServerList []*warpGrpcServer
}
var GrpcManagerHandler *GrpcManager

func NewGrpcManager

func NewGrpcManager() *GrpcManager

func (*GrpcManager) GrpcServerRun

func (g *GrpcManager) GrpcServerRun()

func (*GrpcManager) GrpcServerStop

func (g *GrpcManager) GrpcServerStop()

func (*GrpcManager) Update

func (g *GrpcManager) Update(e *dao.ServiceEvent)

type TcpManager

type TcpManager struct {
	ServerList []*tcp_server.TcpServer
}
var TcpManagerHandler *TcpManager

func NewTcpManager

func NewTcpManager() *TcpManager

func (*TcpManager) TcpServerRun

func (t *TcpManager) TcpServerRun()

func (*TcpManager) TcpServerStop

func (t *TcpManager) TcpServerStop()

func (*TcpManager) Update

func (t *TcpManager) Update(e *dao.ServiceEvent)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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