audit

package
v0.0.0-...-556b52b Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var X_FORWARDED_FOR = "X-Forwarded-For"

Functions

func GetClientIpAddress

func GetClientIpAddress(w http.ResponseWriter, r *http.Request) string

func NewDefaultAudit

func NewDefaultAudit(repo repository.Repository) *defaultAudit

Types

type Interface

type Interface interface {
	WithAudit(endpoint internalApi.Endpoint, handler http.Handler) http.Handler
}

Jump to

Keyboard shortcuts

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