audit

package
v0.0.0-...-765cc39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2018 License: AGPL-3.0 Imports: 11 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL