servers

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(host string, port uint)

NewServer 初始化服务 @param string host 服务IP地址 @param uint port 端口 @return void

func Run

func Run(host string, port uint)

Run 定义Server服务启动的方法 @param string host 服务IP地址 @param uint port 端口 @return void

func ZapLogs

func ZapLogs()

ZapLogs 初始化日志 @return void

Types

This section is empty.

Jump to

Keyboard shortcuts

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