httpserver

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: AGPL-3.0 Imports: 15 Imported by: 0

README

Http Server

简介

HTTP Server 是 RULEX 的 WEB API 提供者,主要用来支持 Dashboard 以及部分性能监控。

Documentation

Index

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) 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

Directories

Path Synopsis
dao

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL