func (p PluginType) String() string {
	return types[p]
}
Returns string for matching enum plugin type
package plugin
import (
	"crypto/rsa"
	"time"
	log "github.com/sirupsen/logrus"
	"github.com/intelsdi-x/snap/control/plugin/cpolicy"
)
type PluginType int