summaryrefslogtreecommitdiff
path: root/plugins/config/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/config/config.go')
-rw-r--r--plugins/config/config.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/config/config.go b/plugins/config/config.go
new file mode 100644
index 00000000..b5807921
--- /dev/null
+++ b/plugins/config/config.go
@@ -0,0 +1,10 @@
+package config
+
+import "time"
+
+// General is the part of the config plugin which contains general for the whole RR2 parameters
+// For example - http timeouts, headers sizes etc and also graceful shutdown timeout should be the same across whole application
+type General struct {
+ // GracefulTimeout for the temporal and http
+ GracefulTimeout time.Duration
+}