New and generic scrape algorithm #11
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user