crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
787a1116
ROOT
/
pkg
/
classification
/
interfaces
/
interfaces.go
Search
History
309 lines
|
ISO-8859-1
|
7 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ClassifiedInterface
detections.Detection
Classification
:
*Classification
Classification
URL
:
string
RecipeMatch
:
bool
RecipeName
:
string
RecipeUUID
:
string
RecipeSubType
:
string
Decision
:
classify.ClassificationDecision
Classifier
Recipes
:
[]Recipe
InternalDomainMatchers
:
[]*regexp.Regexp
DomainResolver
:
*url.DomainResolver
Config
Recipes
:
[]db.Recipe
InternalDomains
:
[]string
DomainResolver
:
*url.DomainResolver
Recipe
UUID
:
string
Name
:
string
Type
:
string
SubType
:
string
URLS
:
[]RecipeURL
ExcludeURLS
:
[]RecipeURL
RecipeURL
URL
:
string
RegexpMatcher
:
*regexp.Regexp
RecipeURLMatch
DetectionURLPart
:
string
RecipeURL
:
string
RecipeUUID
:
string
RecipeName
:
string
RecipeSubType
:
string
ExcludedURL
:
bool
ErrInvalidRecipes
ErrInvalidInternalDomainRegexp
New
(config Config)
:
(*Classifier, error)
NewDefault
()
:
(*Classifier, error)
*Classification
Name
()
:
string
*Classifier
Classify
(data detections.Detection)
:
(*ClassifiedInterface, error)
FindMatchingRecipeUrl
(detectionURL string)
:
(*RecipeURLMatch, error)
All occurrences
Please wait...
Page is in error, reload to recover