Documentation
¶
Overview ¶
Package planpath 解析客户端 plan 路径与服务端 plan 文件名安全校验。
Index ¶
Constants ¶
View Source
const DefaultPlanDir = "plans"
Variables ¶
This section is empty.
Functions ¶
func JoinPlanDir ¶
JoinPlanDir 将服务端 plan 目录与安全基名拼接为绝对路径。
func ResolveClientPlanPath ¶
ResolveClientPlanPath 将 CLI 的 --pcap-plan 解析为绝对路径。 纯文件名(无分隔符、非绝对、不以 . 开头)则与 planDir 拼接。
Types ¶
This section is empty.
Source Files
¶
- planpath.go
Click to show internal directories.
Click to hide internal directories.