zinx

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TcpServerMod string = "tcp"
	WsServerMod  string = "websocket"
)

Variables

This section is empty.

Functions

func NewZinxServer

func NewZinxServer(
	logger *zap.Logger,
	serverSetting sfx.SettingsParams,
	securitySetting sfx.SecuritySettingsParams,
	name string,
	version string,
	deployment string,
	rateLimit int32,
) (result siface.IZinxServer, err error)

Types

type ZinxServer

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

func (*ZinxServer) StartServing

func (zs *ZinxServer) StartServing(_ context.Context) error

func (*ZinxServer) StopServing

func (zs *ZinxServer) StopServing(_ context.Context) error

func (*ZinxServer) ZinxServer

func (zs *ZinxServer) ZinxServer() ziface.IServer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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