package
1.2.2
Repository: https://github.com/osgochina/dmicro.git
Documentation: pkg.go.dev

# Functions

CloseCtl 关闭ctl管理功能.
Cobra 注册命令.
GetSandbox 通过sandbox name 获取已注册的sandbox.
SetName 设置应用名 建议设置独特个性化的引用名,因为管理链接,日志目录等地方会用到它。 如果不设置,默认是"DServer_xxx",启动xxx为二进制名.
Setup 启动服务.
Shutdown 关闭服务.

# Constants

ProcessModelMulti 多进程模型.
ProcessModelSingle 单进程模式.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BaseSandbox sandbox的基类,必须继承它.
Config 配置文件对象.
No description provided by the author
DServer 服务对象.
DService 服务对象,每个DService中可以存在多个sandbox 每个DServer中可以存在多个DService.
No description provided by the author
No description provided by the author
InheritAddr master进程需要监听的配置.
No description provided by the author
ServiceSandbox 服务.

# Interfaces

ISandbox 服务沙盒的接口.

# Type aliases

ProcessModel 进程模型.
StartFunc 启动回调方法.
StopFunc 服务关闭回调方法.