http

package
v0.0.0-...-67d4cb7 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer()

StartServer 开启服务器

Types

type TBaseRsp

type TBaseRsp struct {
	Code      int    `json:"code,omitempty bson:"code"`  // 错误码
	Err       string `json:"err,omitempty" bson:"err"`   // 错误字符串
	TimeStamp int64  `json:"timestamp" bson:"timestamp"` // 时间戳
}

TBaseRsp 基础Rsp

type TDLL

type TDLL struct {
	DLLName     string `json:"dllname" bson:"dllname"`         // DLL 名称
	DLLEditTime string `json:"dlledittime" bson:"dlledittime"` // 编辑时间
	LastestTime string `json:"lastesttime" `                   // 出现的最新版本时间
}

TDLL dll

type TGameServer

type TGameServer struct {
	Path    string  `json:"path" bson:"path"`       // 路径名称
	DLLList []*TDLL `json:"dlllist" bson:"dlllist"` // 模块信息
}

TGameServer 游戏服务器信息

type TServer

type TServer struct {
	ServerName     string         `json:"servername" bson:"servername"`         // 服务器名称
	UpdateTime     string         `json:"updatetime" bson:"updatetime"`         // 时间
	UpdateStamp    int64          `json:"updatestamp" bson:"updatestamp"`       // 时间戳
	GameServerList []*TGameServer `json:"gameserverlist" bson:"gameserverlist"` // 游戏服务器列表
}

TServer 服务器信息

Jump to

Keyboard shortcuts

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