summaryrefslogtreecommitdiff
path: root/container/plugins.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-10-10 14:22:25 +0200
committerValery Piashchynski <[email protected]>2022-10-10 14:22:25 +0200
commit80f9d4fe1d79c1c6f3b8e9073d99a2a4daf19b2d (patch)
tree85b572d2dd191411791b56a48cc48797fa3e5682 /container/plugins.go
parentbee07c00a8954945156ca3e3de9c032b530abd01 (diff)
feat: plugins SDK/API update
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'container/plugins.go')
-rw-r--r--container/plugins.go94
1 files changed, 38 insertions, 56 deletions
diff --git a/container/plugins.go b/container/plugins.go
index 82225b6b..4aeecb87 100644
--- a/container/plugins.go
+++ b/container/plugins.go
@@ -2,41 +2,23 @@ package container
import (
cache "github.com/darkweak/souin/plugins/roadrunner"
- "github.com/roadrunner-server/amqp/v2"
- "github.com/roadrunner-server/beanstalk/v2"
- "github.com/roadrunner-server/boltdb/v2"
- "github.com/roadrunner-server/broadcast/v2"
- "github.com/roadrunner-server/fileserver/v2"
- grpcPlugin "github.com/roadrunner-server/grpc/v2"
- "github.com/roadrunner-server/gzip/v2"
- "github.com/roadrunner-server/headers/v2"
- httpPlugin "github.com/roadrunner-server/http/v2"
- "github.com/roadrunner-server/informer/v2"
- "github.com/roadrunner-server/jobs/v2"
- "github.com/roadrunner-server/kafka/v2"
- "github.com/roadrunner-server/logger/v2"
- "github.com/roadrunner-server/memory/v2"
- "github.com/roadrunner-server/metrics/v2"
- "github.com/roadrunner-server/nats/v2"
- rrOtel "github.com/roadrunner-server/otel/v2"
- "github.com/roadrunner-server/prometheus/v2"
- proxyIP "github.com/roadrunner-server/proxy_ip_parser/v2"
- "github.com/roadrunner-server/redis/v2"
- "github.com/roadrunner-server/reload/v2"
- "github.com/roadrunner-server/resetter/v2"
- rpcPlugin "github.com/roadrunner-server/rpc/v2"
- "github.com/roadrunner-server/send/v2"
- "github.com/roadrunner-server/server/v2"
- "github.com/roadrunner-server/service/v2"
- "github.com/roadrunner-server/sqs/v2"
- "github.com/roadrunner-server/static/v2"
- "github.com/roadrunner-server/status/v2"
- "github.com/roadrunner-server/websockets/v2"
-
- "github.com/roadrunner-server/kv/v2"
- "github.com/roadrunner-server/memcached/v2"
- "github.com/roadrunner-server/tcp/v2"
- rrt "github.com/temporalio/roadrunner-temporal"
+ "github.com/roadrunner-server/amqp/v3"
+ "github.com/roadrunner-server/beanstalk/v3"
+ "github.com/roadrunner-server/gzip/v3"
+ httpPlugin "github.com/roadrunner-server/http/v3"
+ "github.com/roadrunner-server/informer/v3"
+ "github.com/roadrunner-server/jobs/v3"
+ "github.com/roadrunner-server/kafka/v3"
+ "github.com/roadrunner-server/logger/v3"
+ "github.com/roadrunner-server/metrics/v3"
+ "github.com/roadrunner-server/nats/v3"
+ "github.com/roadrunner-server/reload/v3"
+ "github.com/roadrunner-server/resetter/v3"
+ rpcPlugin "github.com/roadrunner-server/rpc/v3"
+ "github.com/roadrunner-server/server/v3"
+ "github.com/roadrunner-server/service/v3"
+ "github.com/roadrunner-server/sqs/v3"
+ rrt "github.com/temporalio/roadrunner-temporal/v2"
)
// Plugins returns active plugins for the endure container. Feel free to add or remove any plugins.
@@ -47,7 +29,7 @@ func Plugins() []any { //nolint:funlen
&informer.Plugin{},
// resetter plugin (./rr reset)
&resetter.Plugin{},
-
+ //
// logger plugin
&logger.Plugin{},
// metrics plugin
@@ -60,7 +42,7 @@ func Plugins() []any { //nolint:funlen
&server.Plugin{},
// service plugin
&service.Plugin{},
-
+ //
// ========= JOBS bundle
&jobs.Plugin{},
&amqp.Plugin{},
@@ -69,45 +51,45 @@ func Plugins() []any { //nolint:funlen
&beanstalk.Plugin{},
// new in 2.11
&kafka.Plugin{},
- // =========
-
+ //// =========
+ //
// http server plugin with middleware
&httpPlugin.Plugin{},
- &static.Plugin{},
- &headers.Plugin{},
- &status.Plugin{},
+ //&static.Plugin{},
+ //&headers.Plugin{},
+ //&status.Plugin{},
&gzip.Plugin{},
- &prometheus.Plugin{},
+ //&prometheus.Plugin{},
// third-party--
&cache.Plugin{},
// --
- &send.Plugin{},
- &proxyIP.Plugin{},
- &rrOtel.Plugin{},
+ //&send.Plugin{},
+ //&proxyIP.Plugin{},
+ //&rrOtel.Plugin{},
// --
- &fileserver.Plugin{},
+ //&fileserver.Plugin{},
// ===================
- &grpcPlugin.Plugin{},
+ //&grpcPlugin.Plugin{},
// kv + ws + jobs plugin
- &memory.Plugin{},
+ //&memory.Plugin{},
// KV + Jobs
- &boltdb.Plugin{},
+ //&boltdb.Plugin{},
// broadcast via memory or redis
// used in conjunction with Websockets, memory and redis plugins
- &broadcast.Plugin{},
+ //&broadcast.Plugin{},
// ======== websockets broadcast bundle
- &websockets.Plugin{},
- &redis.Plugin{},
+ //&websockets.Plugin{},
+ //&redis.Plugin{},
// =========
// ============== KV
- &kv.Plugin{},
- &memcached.Plugin{},
+ //&kv.Plugin{},
+ //&memcached.Plugin{},
// ==============
// raw TCP connections handling
- &tcp.Plugin{},
+ //&tcp.Plugin{},
// temporal plugins
&rrt.Plugin{},