upadted to 1.24.0; fixed stb and spiddped doubles in precene

This commit is contained in:
2025-03-03 09:28:41 +02:00
parent 0ecf0ddec1
commit 203f834f65
41 changed files with 1058 additions and 219 deletions

View File

@@ -1,10 +1,11 @@
package constant
const (
ScopeRuTracker string = "rutracker"
ScopePrescene string = "prescene"
ScopeWeb string = "web"
ScopeInfo string = "info"
ScopeRuTracker string = "rutracker"
ScopePrescene string = "prescene"
ScopeWeb string = "web"
ScopeInfo string = "info"
ScopeShareTheBrutality string = "stb"
)
const (
@@ -16,3 +17,12 @@ const (
TagIgnore string = "ignore"
ExternalSourcesTable string = "external_sources"
)
const (
StatusSuccess string = "success"
StatusError string = "error"
StatusSucceed string = "succeed"
StatusSuspicious string = "suspicious"
StatusFailed string = "failed"
)

View File

@@ -8,4 +8,10 @@ const (
FlagVersionShort = "v"
FlagConfigFile = "config-file"
FlagScopeEnable = "scope-enable"
FlagSingleUri = "single-uri"
FlagEnv = "env"
DefaultEnvProd = "prod"
DefaultEnvDev = "devel"
DefaultConfigPath = "config/default"
)