audit

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditLogEntry

type AuditLogEntry struct {
	Timestamp time.Time `json:"timestamp"`
	Entry     any       `json:"entry"`
}

type Log

type Log interface {
	Append(entry any) error
}

audit log for tracking interesting events

func NewAppendOnlyFileAuditLog

func NewAppendOnlyFileAuditLog(filePath string) (Log, error)

Jump to

Keyboard shortcuts

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