Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/pkg/model/worflow_loader.go
2070 views
1
package model
2
3
// TODO shouldn't this rather be TemplateLoader?
4
5
// WorkflowLoader is a loader interface required for workflow initialization.
6
type WorkflowLoader interface {
7
// GetTemplatePathsByTags returns a list of template paths based on the provided tags from the templates directory
8
GetTemplatePathsByTags(tags []string) []string
9
10
// GetTemplatePaths takes a list of templates and returns paths for them
11
GetTemplatePaths(templatesList []string, noValidate bool) []string
12
}
13
14