# Functions
No description provided by the author
No description provided by the author
创建一个注册的Plugin 这里不返回错误而是直接panic的原因是: Create函数只是把plugin创建出来,并把cfg设置到plugin中对应的一个字段里。 这里的panic分为两种情况 1.
推荐自定义plugin的类型,不要直接使用基础类型,例如 type DaemonType string const DaemonTypeHttpd DaemonType = "httpd" Register(DaemonTypeHttpd, func() interface{} { return NewHttpd() }).
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author