placeholder event_strings
@@ -4,8 +4,16 @@ import (
"github.com/karimra/gnmic/formatters"
)
-// Strings provides some of Golang's strings functions to transform, tags, tag keys, values and value keys
-type Strings struct{}
+// TODO
+
+// Strings provides some of Golang's strings functions to transform: tags, tag keys, values and value keys
+type Strings struct {
+ Tags []string `mapstructure:"tags,omitempty"`
+ Values []string `mapstructure:"values,omitempty"`
+
+ TagKeys []string `mapstructure:"tag_keys,omitempty"`
+ ValueKeys []string `mapstructure:"value_keys,omitempty"`
+}
func init() {
formatters.Register("event_strings", func() formatters.EventProcessor {
