Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auditor ¶
type Auditor interface {
RecordRequest(req *http.Request, body []byte, reqType pkg.BackendType) error
}
func NewLogAuditor ¶
func NewLogAuditor(cfg *config.LogAuditorConfig) (Auditor, error)
type LogAuditor ¶
type LogAuditor struct {
// contains filtered or unexported fields
}
func (*LogAuditor) RecordRequest ¶
func (l *LogAuditor) RecordRequest(req *http.Request, body []byte, reqType pkg.BackendType) error
Click to show internal directories.
Click to hide internal directories.