audit

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogExecution

func LogExecution(ep *config.Endpoint, statement string, execErr error) error

func StatementKind

func StatementKind(statement string) string

Types

type Entry

type Entry struct {
	Timestamp string `json:"timestamp"`
	Endpoint  string `json:"endpoint"`
	URL       string `json:"url,omitempty"`
	Status    string `json:"status"`
	Statement string `json:"statement"`
	Error     string `json:"error,omitempty"`
}

func ReadEntries

func ReadEntries() ([]Entry, error)

Jump to

Keyboard shortcuts

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