file

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DiccData    []string
	BBscanRules map[string]*Rule
	JwtSecrets  []string
	Bypass403   map[string][]string
	Av          map[string]string
)
View Source
var AvFile embed.FS

AvFile https://github.com/r00tSe7en/get_AV/blob/master/av.json

Functions

func New

func New()

func ReadFiles

func ReadFiles()

ReadFiles 文件存在,读取文件内容

func Trim

func Trim(s string) string

func UserFile

func UserFile()

func WriteToConfig

func WriteToConfig()

WriteToConfig 将内置文件全部释放到配置文件夹下

Types

type Rule

type Rule struct {
	Tag    string // 文本内容
	Status string // 状态码
	Type   string // 返回的 ContentType
	TypeNo string // 不可能返回的 ContentType
	Root   bool   // 是否为一级目录
}

Jump to

Keyboard shortcuts

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