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)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.