package
1.3.9
Repository: https://github.com/teaoslab/edgecommon.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
AllLocationPatternTypes 取得所有的匹配类型信息.
No description provided by the author
AllServerTypes 获取所有的服务类型.
DefaultHTTPCCConfig 默认的CC配置.
FindAccessLogStorageTypeName 根据类型查找名称.
No description provided by the author
FindAllAccessLogStorageTypes 所有存储引擎列表.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FindAllMetricKeyDefinitions 指标对象定义.
FindAllMetricValueDefinitions 指标数值定义.
FindAllServerProtocols 查找所有协议.
FindAllServerProtocolsForType 获取所有协议.
根据类型查找名称.
根据类型查找IP库.
FindLocationPatternType 查找单个匹配类型信息.
FindLocationPatternTypeName 查找单个匹配类型名称.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FindServerType 查找服务类型.
HumanMetricTime 格式化时间,让时间更易读.
IsCommonRequestHeader 判断某个HTTP请求Header名称是否为通用.
IsHTTPServerType 判断某个服务类型是否属于HTTP簇.
No description provided by the author
No description provided by the author
NewHTTPAccessLogRef 获取新对象.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewHTTPPageConfig 获取新对象.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewReferersConfig 获取新防盗链配置对象.
No description provided by the author
NewSchedulingConfig 获取新对象.
No description provided by the author
No description provided by the author
NewServerConfigFromJSON 从JSON中解析Server配置.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
获取新对象.
NormalizeServerNames 格式化一组域名.
PlainServerNames 获取所有域名.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultPlanExpireNoticePageBody 套餐过期时提示.
No description provided by the author
No description provided by the author
DefaultTrafficLimitNoticePageBody 达到流量限制时默认提示内容.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BasicAuth.
子请求.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
内置的匹配类型定义.
内置的匹配类型定义.
内置的匹配类型定义.
内置的匹配类型定义.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
默认(直连).
代理.
请求报头.
变量.
代理.
跳转.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
字节.
数量.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
完整的域名,包含通配符等.
正则匹配.
前缀.
后缀.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultHTTPAccessLogRef 默认的访问日志配置.
stub.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HTTPAccessLogShortFields 精简版的日志字段,用来用.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
所有的IP库类型.

# Structs

AccessLogCommandStorageConfig 通过命令行存储.
AccessLogESStorageConfig ElasticSearch存储策略.
AccessLogFileStorageConfig 文件存储配置.
AccessLogQueueConfig 访问日志队列配置.
AccessLogSyslogStorageConfig syslog存储策略.
AccessLogTCPStorageConfig TCP存储策略.
BaseProtocol 协议基础数据结构.
No description provided by the author
CommonScript 公共脚本.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FollowProtocolConfig 协议跟随配置.
FTP源站配置.
No description provided by the author
GlobalServerConfig 全局的服务配置.
HealthCheckConfig 健康检查设置.
HLSConfig HTTP Living Streaming相关配置.
HLSEncryptingConfig HLS加密配置.
HTTPAccessLogRef 代理访问日志配置.
No description provided by the author
HTTPAuthBasicMethod BasicAuth方法定义.
HTTPAuthBasicMethodUser BasicAuth中的用户.
HTTPAuthConfig 认证配置.
HTTPAuthPolicy HTTP认证策略.
HTTPAuthPolicyRef 认证策略引用.
HTTPAuthSubRequestMethod 使用URL认证.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HTTPCacheKeyConfig 缓存Key配置.
HTTPCachePolicy 缓存策略配置.
No description provided by the author
HTTPCacheStaleConfig Stale策略配置.
HTTPCCConfig HTTP CC防护配置.
No description provided by the author
HTTPCharsetConfig 字符集设置.
HTTPCompressionConfig 内容压缩配置.
No description provided by the author
No description provided by the author
No description provided by the author
HTTPExpiresTimeConfig 发送到客户端的过期时间设置.
HTTPFastcgiConfig Fastcgi配置.
HTTPFastcgiParam Fastcgi参数.
No description provided by the author
HTTPFileCacheStorage 文件缓存存储策略.
No description provided by the author
No description provided by the author
HTTPGzipCompressionConfig gzip配置.
No description provided by the author
HTTPHostRedirectConfig 主机名跳转设置.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HTTPPageConfig 特殊页面配置.
No description provided by the author
No description provided by the author
HTTPRedirectToHTTPSConfig 跳转到HTTPS配置.
HTTPRemoteAddrConfig HTTP获取客户端IP地址方式.
HTTPRequestLimitConfig HTTP请求限制相关限制配置.
No description provided by the author
重写规则的引用.
HTTPRewriteRule 重写规则定义 TODO 实现对其他代理服务的引用.
HTTPRootConfig Web文档目录配置.
HTTPShutdownConfig 关闭页面配置.
HTTPSProtocolConfig HTTPS协议配置.
No description provided by the author
No description provided by the author
No description provided by the author
HTTPWebsocketConfig websocket设置.
No description provided by the author
MetricItemConfig 指标配置.
MetricValueDefinition 指标数值定义.
NetworkAddressConfig 网络地址配置.
OpenFileCacheConfig open file cache配置.
OriginConfig 源站服务配置.
TODO 需要实现.
No description provided by the author
PlanConfig 套餐配置.
ProxyProtocolConfig PROXY Protocol配置.
ReferersConfig 防盗链设置.
ReverseProxyConfig 反向代理设置.
ReverseProxyRef 反向代理引用.
SchedulingConfig 调度算法配置.
SchedulingGroup 负载均衡分组.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerGroupConfig 服务分组配置.
ServerNameConfig 主机名(域名)配置.
No description provided by the author
TLSProtocolConfig TLS协议配置.
TrafficLimitConfig 流量限制.
TrafficLimitStatus 流量限制状态.
UAMConfig UAM配置.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UserPlanConfig 用户套餐配置.
WebPImageConfig WebP配置.
可能含有x字母的状态码.

# Interfaces

HTTPAuthMethodInterface HTTP认证接口定义.
No description provided by the author

# Type aliases

AccessLogStorageType 访问日志存储类型.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HTTPLocationPatternType 匹配类型.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MetricItemCategory 指标分类.
MetricItemPeriodUnit 指标周期单位.
MetricItemValueType 值类型.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author