New and generic scrape algorithm #11

Merged
SoXX merged 20 commits from dev/algorithm into main 2024-11-01 21:39:21 +00:00
Showing only changes of commit 1435ae8ea4 - Show all commits

View File

@ -97,7 +97,8 @@ func Listen(ctx context.Context, listenAddr string, source models.Source) error
return nil return nil
} }
func SetTaskExecutionFunction(plugInterface Plug) { // RegisterPlugInterface sets the provided Plug interface implementation for task execution.
func RegisterPlugInterface(plugInterface Plug) {
plugAPIInterface = plugInterface plugAPIInterface = plugInterface
} }