diff options
author | Valery Piashchynski <[email protected]> | 2022-01-17 19:59:26 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-17 19:59:26 +0300 |
commit | e03fec021b7b547622cfd31d967a1adf4eeae966 (patch) | |
tree | de9076958f4db286f0b5efd90cc0e675c4d63bb7 /internal | |
parent | 395a9798018926fe1784e9d52f8932f398b33163 (diff) | |
parent | 9713ede34cdbc4ab2a89a990cb1ac5ace2548ed4 (diff) |
[#939]: feat(release): `v2.7.2`v2.7.2-rc.1
Diffstat (limited to 'internal')
-rw-r--r-- | internal/container/plugins.go | 104 |
1 files changed, 102 insertions, 2 deletions
diff --git a/internal/container/plugins.go b/internal/container/plugins.go index 8a9fb253..7cbead2b 100644 --- a/internal/container/plugins.go +++ b/internal/container/plugins.go @@ -1,6 +1,106 @@ package container +import ( + "github.com/roadrunner-server/informer/v2" + "github.com/roadrunner-server/logger/v2" + "github.com/roadrunner-server/metrics/v2" + "github.com/roadrunner-server/reload/v2" + "github.com/roadrunner-server/resetter/v2" + rpcPlugin "github.com/roadrunner-server/rpc/v2" + "github.com/roadrunner-server/server/v2" + "github.com/roadrunner-server/service/v2" + + "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/jobs/v2" + "github.com/roadrunner-server/memory/v2" + "github.com/roadrunner-server/nats/v2" + newrelic "github.com/roadrunner-server/new_relic/v2" + "github.com/roadrunner-server/prometheus/v2" + "github.com/roadrunner-server/redis/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" + roadrunner_temporal "github.com/temporalio/roadrunner-temporal" +) + // Plugins returns active plugins for the endure container. Feel free to add or remove any plugins. -func Plugins() []interface{} { - return []interface{}{} +func Plugins() []interface{} { //nolint:funlen + return []interface{}{ + // bundled + // informer plugin (./rr workers, ./rr workers -i) + &informer.Plugin{}, + // resetter plugin (./rr reset) + &resetter.Plugin{}, + + // logger plugin + &logger.ZapLogger{}, + // metrics plugin + &metrics.Plugin{}, + // reload plugin + &reload.Plugin{}, + // rpc plugin (workers, reset) + &rpcPlugin.Plugin{}, + // server plugin (NewWorker, NewWorkerPool) + &server.Plugin{}, + // service plugin + &service.Plugin{}, + + // ========= JOBS bundle + &jobs.Plugin{}, + &amqp.Plugin{}, + &sqs.Plugin{}, + &nats.Plugin{}, + &beanstalk.Plugin{}, + // ========= + + // http server plugin with middleware + &httpPlugin.Plugin{}, + &newrelic.Plugin{}, + &static.Plugin{}, + &headers.Plugin{}, + &status.Plugin{}, + &gzip.Plugin{}, + &prometheus.Plugin{}, + + &fileserver.Plugin{}, + // =================== + + &grpcPlugin.Plugin{}, + // kv + ws + jobs plugin + &memory.Plugin{}, + // KV + Jobs + &boltdb.Plugin{}, + + // broadcast via memory or redis + // used in conjunction with Websockets, memory and redis plugins + &broadcast.Plugin{}, + // ======== websockets broadcast bundle + &websockets.Plugin{}, + &redis.Plugin{}, + // ========= + + // ============== KV + &kv.Plugin{}, + &memcached.Plugin{}, + // ============== + + // raw TCP connections handling + &tcp.Plugin{}, + + // temporal plugins + &roadrunner_temporal.Plugin{}, + } } |