Documentation ¶
Index ¶
- func AddApi(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func AddApiGroup(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func AddBackend(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func AddGateway(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func AddRateLimit(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func AddStrategy(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func CheckApiURLIsExist(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func CheckGatewayAliasIsExist(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func CheckIsInstall(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func CheckLogin(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func DeleteApi(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func DeleteApiGroup(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func DeleteBackend(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func DeleteGateway(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func DeleteRateLimit(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func DeleteStrategy(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func EditApi(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func EditApiGroup(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func EditAuth(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func EditBackend(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func EditGateway(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func EditGatewayIPList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func EditGlobalConfig(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func EditRateLimit(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func EditStrategy(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func EditStrategyIPList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetAllApiList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetApiGroupList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetApiInfo(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetApiListByGroup(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetAuthInfo(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetBackendInfo(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetBackendList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetGatewayIPList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetGatewayInfo(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetGatewayList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetGlobalConfig(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetRateLimitInfo(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetRateLimitList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetSimpleStrategyList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetStrategyIPList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func GetStrategyList(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func Install(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func Login(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func Logout(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func ReloadGatewayService(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func RestartGatewayService(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func SearchApi(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func StartGatewayService(httpResponse http.ResponseWriter, httpRequest *http.Request)
- func StopGatewayService(httpResponse http.ResponseWriter, httpRequest *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddApiGroup ¶
func AddApiGroup(httpResponse http.ResponseWriter, httpRequest *http.Request)
新增分组
func AddRateLimit ¶
func AddRateLimit(httpResponse http.ResponseWriter, httpRequest *http.Request)
新增流量限制
func AddStrategy ¶
func AddStrategy(httpResponse http.ResponseWriter, httpRequest *http.Request)
新增策略组
func CheckApiURLIsExist ¶
func CheckApiURLIsExist(httpResponse http.ResponseWriter, httpRequest *http.Request)
请求路径及请求方式查重
func CheckGatewayAliasIsExist ¶
func CheckGatewayAliasIsExist(httpResponse http.ResponseWriter, httpRequest *http.Request)
检查网关是否存在
func CheckIsInstall ¶
func CheckIsInstall(httpResponse http.ResponseWriter, httpRequest *http.Request)
检查是否已安装
func CheckLogin ¶
func CheckLogin(httpResponse http.ResponseWriter, httpRequest *http.Request)
检查用户登录
func DeleteApiGroup ¶
func DeleteApiGroup(httpResponse http.ResponseWriter, httpRequest *http.Request)
删除分组
func DeleteBackend ¶
func DeleteBackend(httpResponse http.ResponseWriter, httpRequest *http.Request)
删除后端信息
func DeleteGateway ¶
func DeleteGateway(httpResponse http.ResponseWriter, httpRequest *http.Request)
删除网关
func DeleteRateLimit ¶
func DeleteRateLimit(httpResponse http.ResponseWriter, httpRequest *http.Request)
删除流量限制
func DeleteStrategy ¶
func DeleteStrategy(httpResponse http.ResponseWriter, httpRequest *http.Request)
删除策略组
func EditApiGroup ¶
func EditApiGroup(httpResponse http.ResponseWriter, httpRequest *http.Request)
修改分组
func EditBackend ¶
func EditBackend(httpResponse http.ResponseWriter, httpRequest *http.Request)
修改后端信息
func EditGateway ¶
func EditGateway(httpResponse http.ResponseWriter, httpRequest *http.Request)
修改网关信息
func EditGatewayIPList ¶
func EditGatewayIPList(httpResponse http.ResponseWriter, httpRequest *http.Request)
修改网关黑白名单
func EditGlobalConfig ¶
func EditGlobalConfig(httpResponse http.ResponseWriter, httpRequest *http.Request)
修改全局配置
func EditRateLimit ¶
func EditRateLimit(httpResponse http.ResponseWriter, httpRequest *http.Request)
修改流量限制
func EditStrategy ¶
func EditStrategy(httpResponse http.ResponseWriter, httpRequest *http.Request)
修改策略组
func EditStrategyIPList ¶
func EditStrategyIPList(httpResponse http.ResponseWriter, httpRequest *http.Request)
修改策略组黑白名单
func GetAllApiList ¶
func GetAllApiList(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取接口列表
func GetApiGroupList ¶
func GetApiGroupList(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取分组列表
func GetApiInfo ¶
func GetApiInfo(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取接口详情
func GetApiListByGroup ¶
func GetApiListByGroup(httpResponse http.ResponseWriter, httpRequest *http.Request)
func GetAuthInfo ¶
func GetAuthInfo(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取鉴权信息
func GetBackendInfo ¶
func GetBackendInfo(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取后端信息
func GetBackendList ¶
func GetBackendList(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取后端列表
func GetGatewayIPList ¶
func GetGatewayIPList(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取网关黑白名单
func GetGatewayInfo ¶
func GetGatewayInfo(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取网关信息
func GetGatewayList ¶
func GetGatewayList(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取网关列表
func GetGlobalConfig ¶
func GetGlobalConfig(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取全局配置信息
func GetRateLimitInfo ¶
func GetRateLimitInfo(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取流量限制列表
func GetRateLimitList ¶
func GetRateLimitList(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取流量限制列表
func GetSimpleStrategyList ¶
func GetSimpleStrategyList(httpResponse http.ResponseWriter, httpRequest *http.Request)
func GetStrategyIPList ¶
func GetStrategyIPList(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取策略组黑白名单
func GetStrategyList ¶
func GetStrategyList(httpResponse http.ResponseWriter, httpRequest *http.Request)
获取策略组列表
func ReloadGatewayService ¶
func ReloadGatewayService(httpResponse http.ResponseWriter, httpRequest *http.Request)
重载网关后端服务
func RestartGatewayService ¶
func RestartGatewayService(httpResponse http.ResponseWriter, httpRequest *http.Request)
重启网关后端服务
func StartGatewayService ¶
func StartGatewayService(httpResponse http.ResponseWriter, httpRequest *http.Request)
关闭后端服务
func StopGatewayService ¶
func StopGatewayService(httpResponse http.ResponseWriter, httpRequest *http.Request)
关闭后端服务
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.