Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator is a validator for file extension
func NewValidator ¶
NewValidator creates a new extension validator instance
func (*Validator) ValidatePath ¶
ValidatePath returns true if an extension is allowed by the validator
Click to show internal directories.
Click to hide internal directories.