Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultPluginPath = "plugin/"
Variables ¶
This section is empty.
Functions ¶
func ListPlugins ¶
ListPlugins 检查 plugin/ 目录,并返回 .so 文件数组
func RegularCreate ¶
RegularCreate 示例,一个返回标准 Service 接口的函数。动态加载的插件必须存在此函数。
Types ¶
type RegularCreation ¶
Click to show internal directories.
Click to hide internal directories.