package
Version:
v0.0.0-...-2d50ede
Opens a new window with list of versions in this module.
Published: Jun 17, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
- Constants
-
type Audit
-
func (a *Audit) Close()
-
func (a *Audit) Init() error
-
func (a *Audit) LogReadEvent(t, user, host string, threadID uint32, query string, status uint16, ...)
-
func (a *Audit) LogWriteEvent(t, user, host string, threadID uint32, query string, status uint16, ...)
View Source
const (
NULL = "N"
READ = "R"
WRITE = "W"
ALL = "A"
)
Audit tuple.
NewAudit creates the new audit.
Close used to close the audit log.
Init used to create the log dir, if EXISTS we do onthing.
LogReadEvent used to handle the read-only event.
LogWriteEvent used to handle the write event.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.