proxyutils

package
v0.1.72 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: MIT Imports: 16 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddServerMenu

func AddServerMenu(actionWrapper actions.ActionWrapper)

添加服务器菜单

func ApplyChartChanges added in v0.1.2

func ApplyChartChanges() error

应用图表更新

func CheckChartChanges added in v0.1.2

func CheckChartChanges() bool

检查图表是否有更新

func DefaultRequestVariables added in v0.1.6

func DefaultRequestVariables() []maps.Map

默认的请求变量列表

func FinishChange

func FinishChange()

func FormatAccessLog added in v0.1.5

func FormatAccessLog(accessLogs []*teaconfigs.AccessLogConfig) []maps.Map

格式化访问日志配置

func NotifyChange

func NotifyChange()

func Observe

func Observe(f func())

func ParseAccessLogForm added in v0.1.5

func ParseAccessLogForm(req *http.Request) (result []*teaconfigs.AccessLogConfig)

从请求中获取访问日志信息

func ProxyIsChanged

func ProxyIsChanged() bool

func ReloadServerStats

func ReloadServerStats(serverId string)

刷新服务统计

func WrapServerData added in v0.1.3

func WrapServerData(server *teaconfigs.ServerConfig) maps.Map

包装Server相关数据

Types

This section is empty.

Jump to

Keyboard shortcuts

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