Add plugin loader interface

This commit is contained in:
Austin Roberts 2021-08-31 15:40:39 -05:00
parent e8b93d7597
commit 8148633920

View File

@ -131,3 +131,7 @@ type Logger interface {
Crit(string, ...interface{})
Error(string, ...interface{})
}
type PluginLoader interface{
Lookup(name string, validate func(interface{}) bool) []interface{}
}