Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sanitizer ¶
type Sanitizer struct {
// contains filtered or unexported fields
}
Sanitizer removes internal content from model responses.
func NewSanitizer ¶
func NewSanitizer(cfg config.GatekeeperConfig) (*Sanitizer, error)
NewSanitizer creates a new Sanitizer. Returns error if custom patterns are invalid.
Click to show internal directories.
Click to hide internal directories.