server

package
v0.0.0-...-03dd0ed Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WEEKFILE  = config.WEEKFILE
	TCPSERVER = config.TCPSERVER
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	base.Base
}

func (*Base) CronServer

func (ctx *Base) CronServer()

*

  • 启动服务

func (*Base) TcpServer

func (ctx *Base) TcpServer()

*

  • 启动 TCP 连接服务

type Cron

type Cron struct {
	Base
}

type Http

type Http struct {
	routes.Routes
}

func (*Http) HttpServer

func (ctx *Http) HttpServer()

type Tcp

type Tcp struct {
	Base
}

Jump to

Keyboard shortcuts

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