Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore struct {
// contains filtered or unexported fields
}
Datastore stores the audit data in the database
func NewDatastore ¶
func NewDatastore(singletonName string, dbHost string, dbPort uint16, dbUser string, dbPass string, dbName string) (*Datastore, error)
NewDatastore returns a new datastore for storing audit state in mysql
func (*Datastore) GetAuditData ¶
GetAuditData returns the audit data from the database
func (*Datastore) StoreAuditData ¶
StoreAuditData stores the latest audit json in the DB for this singleton
Click to show internal directories.
Click to hide internal directories.