feat: support creating and calling custom functions with hashicorp/go-plugin

This commit is contained in:
debugtalk
2022-01-13 21:27:24 +08:00
parent 0058f683df
commit b42e6f8019
15 changed files with 505 additions and 110 deletions

View File

@@ -18,8 +18,7 @@ func newParser() *parser {
}
type parser struct {
plugin hrpPlugin // plugin is used to call functions
cachedFunctions map[string]reflect.Value // cache loaded functions to improve performance
plugin hrpPlugin // plugin is used to call functions
}
func buildURL(baseURL, stepURL string) string {