server

package
v0.0.0-...-d893abf Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2017 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerManagerStruct

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

服务管理对象

func NewServerManager

func NewServerManager() (serverManager *ServerManagerStruct)

创建新的服务管理对象

func (*ServerManagerStruct) Register

func (this *ServerManagerStruct) Register(server serverBase.IServer)

注册服务 server:需要注册的服务

func (*ServerManagerStruct) Start

func (this *ServerManagerStruct) Start() error

开始运行服务 error:服务运行的错误信息

func (*ServerManagerStruct) Stop

func (this *ServerManagerStruct) Stop() error

停止所有服务

func (*ServerManagerStruct) WaitStop

func (this *ServerManagerStruct) WaitStop()

等待所有服务停止

Directories

Path Synopsis
远程过程调用服务
远程过程调用服务
定时调度服务
定时调度服务
web服务
web服务

Jump to

Keyboard shortcuts

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