Documentation
¶
Index ¶
Constants ¶
View Source
const ( Version = "v1.22.7" // 版本号 RepoAddr = "https://github.com/AmbitiousJun/live-server" // 仓库地址 HeadersSeg = "[[[:]]]" // 分割请求头的分隔符 )
View Source
const ( // HelpDocHtmlTemplate 帮助文档的 html 模板 HelpDocHtmlTemplate = `` /* 8768-byte string literal not displayed */ // FengAuthHtml 凤凰秀授权地址 FengAuthHtml = `` /* 5928-byte string literal not displayed */ // ConfigPageHtml 配置页地址 ConfigPageHtml = `` /* 19728-byte string literal not displayed */ )
View Source
const (
Dir_DataRoot = "data" // 数据存放根目录
)
View Source
const (
Gin_IpAddrInfoKey = "ip_addr_info" // 在 gin 上下文中存放 IP 地址信息的键
)
View Source
const (
Warp_ExecPathEnvKey = "warp_exec_path" // 环境变量中存放 warp 执行路径的键
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.