audit

package
v0.0.0-...-ea705a9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(entry LogEntry)

func StringPtr

func StringPtr(s string) *string

StringPtr is a helper to create a *string from a value.

func Uint64Ptr

func Uint64Ptr(v uint64) *uint64

Uint64Ptr is a helper to create a *uint64 from a value.

Types

type LogEntry

type LogEntry struct {
	GuildId      *uint64
	UserId       uint64
	ActionType   database.AuditActionType
	ResourceType database.AuditResourceType
	ResourceId   *string
	OldData      any
	NewData      any
	Metadata     any
}

Jump to

Keyboard shortcuts

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