Documentation
¶
Index ¶
- func CaptureOutput(f func()) string
- func CheckChina(enableLogger bool) bool
- func PrintAndCapture(f func(), tempOutput, output string) string
- func PrintCenteredTitle(title string, width int)
- func PrintHead(language string, width int, ecsVersion string)
- func ProcessAndUpload(output string, filePath string, enableUplaod bool)
- func SecurityCheck(language, nt3CheckType string, securtyCheckStatus bool) (string, string, string)
- func UploadText(absPath string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckChina ¶ added in v0.0.33
func PrintAndCapture ¶
PrintAndCapture 捕获函数输出的同时打印内容
func PrintCenteredTitle ¶
PrintCenteredTitle 根据指定的宽度打印居中标题
func ProcessAndUpload ¶ added in v0.0.14
ProcessAndUpload 创建结果文件并上传文件
func SecurityCheck ¶
SecurityCheck 执行安全检查
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.