Add Surge MITM and scripts

This commit is contained in:
世界
2025-02-02 17:03:27 +08:00
parent b55bfca7de
commit 5e28a80e63
53 changed files with 4437 additions and 15842 deletions

12
constant/script.go Normal file
View File

@@ -0,0 +1,12 @@
package constant
const (
ScriptTypeSurgeGeneric = "sg-generic"
ScriptTypeSurgeHTTPRequest = "sg-http-request"
ScriptTypeSurgeHTTPResponse = "sg-http-response"
ScriptTypeSurgeCron = "sg-cron"
ScriptTypeSurgeEvent = "sg-event"
ScriptSourceLocal = "local"
ScriptSourceRemote = "remote"
)