Documentation
¶
Index ¶
- type ApiServerPlugin
- func (hs *ApiServerPlugin) Init(config *ini.Section) error
- func (hs *ApiServerPlugin) InitializeData()
- 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 ¶
This section is empty.
Types ¶
type ApiServerPlugin ¶ added in v0.6.3
type ApiServerPlugin struct {
// contains filtered or unexported fields
}
func NewHttpApiServer ¶
func NewHttpApiServer(ruleEngine typex.RuleX) *ApiServerPlugin
func (*ApiServerPlugin) Init ¶ added in v0.6.3
func (hs *ApiServerPlugin) Init(config *ini.Section) error
func (*ApiServerPlugin) InitializeData ¶ added in v0.6.3
func (hs *ApiServerPlugin) InitializeData()
* * 初始化网络配置 *
func (*ApiServerPlugin) LoadRoute ¶ added in v0.6.3
func (hs *ApiServerPlugin) LoadRoute()
* * 加载路由 *
func (*ApiServerPlugin) PluginMetaInfo ¶ added in v0.6.3
func (hs *ApiServerPlugin) PluginMetaInfo() typex.XPluginMetaInfo
func (*ApiServerPlugin) Service ¶ added in v0.6.3
func (*ApiServerPlugin) Service(arg typex.ServiceArg) typex.ServiceResult
* * 服务调用接口 *
func (*ApiServerPlugin) Start ¶ added in v0.6.3
func (hs *ApiServerPlugin) Start(r typex.RuleX) error
ApiServerPlugin Start
func (*ApiServerPlugin) Stop ¶ added in v0.6.3
func (hs *ApiServerPlugin) Stop() error
Click to show internal directories.
Click to hide internal directories.