open-vault/audit/audit.go
2015-03-27 13:43:23 -07:00

12 lines
386 B
Go

package audit
// Backend interface must be implemented for an audit
// mechanism to be made available. Audit backends can be enabled to
// sink information to different backends such as logs, file, databases,
// or other external services.
type Backend interface {
}
// Factory is the factory function to create an audit backend.
type Factory func(map[string]string) (Backend, error)