func New(name string) *Plugin {
	return &Plugin{
		name: name,
	}
}
New returns a Plugin instance for a Plugin to be initialized.
package plugin
import (
	"bytes"
	"encoding/json"
	"fmt"
	"io"
	"os"
	"github.com/Fanatics/toast/collector"
)
type Func func(d *collector.Data) error
type Plugin struct {
	name string
}