From eee68e665646b0a0100cae1ab237495a34815ac7 Mon Sep 17 00:00:00 2001 From: Mariano Gappa Date: Mon, 29 Jul 2024 16:46:21 +0100 Subject: [PATCH] feat: Add "transformer" plugin type. (#369) --- managedplugin/plugin.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/managedplugin/plugin.go b/managedplugin/plugin.go index acff715..acb8b2e 100644 --- a/managedplugin/plugin.go +++ b/managedplugin/plugin.go @@ -60,10 +60,11 @@ type PluginType int const ( PluginSource PluginType = iota PluginDestination + PluginTransformer ) func (p PluginType) String() string { - return [...]string{"source", "destination"}[p] + return [...]string{"source", "destination", "transformer"}[p] } type Clients []*Client