Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PseudonymizeForm = forms.Form{ ErrorMsg: "invalid data encountered in the PCAP pseudonymization form", Fields: []forms.Field{ { Name: "key", Validators: []forms.Validator{ forms.IsRequired{}, forms.IsString{}, forms.MatchesRegex{ Regex: regexp.MustCompile(`^.{8,32}$`), }, }, }, { Name: "preserve-subnets", Validators: []forms.Validator{ forms.IsOptional{Default: true}, forms.IsBoolean{}, }, }, { Name: "format", Validators: []forms.Validator{ forms.IsOptional{}, forms.IsString{}, forms.IsIn{ Choices: []interface{}{"pcap"}, }, }, }, }, Transforms: []forms.Transform{}, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.