aboutsummaryrefslogtreecommitdiff
path: root/rgxp/logc.go
diff options
context:
space:
mode:
Diffstat (limited to 'rgxp/logc.go')
-rw-r--r--rgxp/logc.go22
1 files changed, 22 insertions, 0 deletions
diff --git a/rgxp/logc.go b/rgxp/logc.go
new file mode 100644
index 0000000..03f1c78
--- /dev/null
+++ b/rgxp/logc.go
@@ -0,0 +1,22 @@
+// Copyright 2021 SNIX LLC sina@snix.ir
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License
+// version 2 as published by the Free Software Foundation.
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+package rgxp
+
+import "time"
+
+const (
+ readRegex = "parsing domain database and compiling regex string patterns"
+ regMatchN = "a^" // match nothing, this should be in regex pattern.
+)
+
+const (
+ databaseCtxTime = 10 * time.Second
+)

Snix LLC Git Repository Holder Copyright(C) 2022 All Rights Reserved Email To Snix.IR