Documentation ¶
Index ¶
- func GetCpuUsage()
- type ApiServerPlugin
- func (hs *ApiServerPlugin) Init(config *ini.Section) error
- func (hs *ApiServerPlugin) LoadRoute()
- func (hs *ApiServerPlugin) PluginMetaInfo() typex.XPluginMetaInfo
- func (*ApiServerPlugin) Service(arg typex.ServiceArg) typex.ServiceResult
- func (hs *ApiServerPlugin) Start(r typex.RuleX) error
- func (hs *ApiServerPlugin) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCpuUsage ¶ added in v0.6.7
func GetCpuUsage()
Types ¶
type ApiServerPlugin ¶
type ApiServerPlugin struct {
// contains filtered or unexported fields
}
func NewHttpApiServer ¶
func NewHttpApiServer(ruleEngine typex.RuleX) *ApiServerPlugin
func (*ApiServerPlugin) Init ¶
func (hs *ApiServerPlugin) Init(config *ini.Section) error
func (*ApiServerPlugin) PluginMetaInfo ¶
func (hs *ApiServerPlugin) PluginMetaInfo() typex.XPluginMetaInfo
func (*ApiServerPlugin) Service ¶
func (*ApiServerPlugin) Service(arg typex.ServiceArg) typex.ServiceResult
* * 服务调用接口 *
func (*ApiServerPlugin) Start ¶
func (hs *ApiServerPlugin) Start(r typex.RuleX) error
ApiServerPlugin Start
func (*ApiServerPlugin) Stop ¶
func (hs *ApiServerPlugin) Stop() error
Click to show internal directories.
Click to hide internal directories.