Documentation
¶
Index ¶
Constants ¶
View Source
const ( OnMismatchCorrect OnMismatch = "correct" OnMismatchReject OnMismatch = "reject" OnUnknownTrust OnUnknown = "trust" OnUnknownReject OnUnknown = "reject" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts Options) files.Middleware
Types ¶
type OnMismatch ¶
type OnMismatch string
type Options ¶
type Options struct {
OnMismatch OnMismatch
OnUnknown OnUnknown
}
Click to show internal directories.
Click to hide internal directories.