package
0.0.0-20250307173044-634e8ce82c05
Repository: https://github.com/sapcc/go-bits.git
Documentation: pkg.go.dev
# Functions
GenerateUUID generates an UUID based on random numbers (RFC 4122).
NewAuditor builds an Auditor connected to a RabbitMQ instance, using the provided configuration.
NewMockAuditor constructs a new MockAuditor instance.
NewNullAuditor returns an Auditor that does nothing (except produce a debug log of the discarded event).
# Structs
AuditorOpts contains options for NewAuditor().
Event is a high-level representation of an audit event.
MockAuditor is a test double that satisfies the Auditor interface.
Observer is like cadf.Resource, but contains only the fields that need to be set for an event observer.
# Type aliases
EventParameters is a deprecated alias for Event.