package
0.11.6
Repository: https://github.com/sql2/vault.git
Documentation: pkg.go.dev

# Functions

Hash will hash the given type.
HashString hashes the given opaque string and returns it.
HashStructure takes an interface and hashes all the values within the structure.

# Structs

No description provided by the author
AuditFormatter implements the Formatter interface, and allows the underlying marshaller to be swapped out.
No description provided by the author
No description provided by the author
AuditRequestEntry is the structure of a request audit log entry in Audit.
No description provided by the author
AuditResponseEntry is the structure of a response audit log entry in Audit.
No description provided by the author
No description provided by the author
BackendConfig contains configuration parameters used in the factory func to instantiate audit backends.
No description provided by the author
JSONFormatWriter is an AuditFormatWriter implementation that structures data into a JSON format.
JSONxFormatWriter is an AuditFormatWriter implementation that structures data into a XML format.
LogInput contains the input parameters passed into LogRequest and LogResponse.

# Interfaces

No description provided by the author
Backend interface must be implemented for an audit mechanism to be made available.
Formatter is an interface that is responsible for formating a request/response into some format.

# Type aliases

Factory is the factory function to create an audit backend.
HashCallback is the callback called for HashStructure to hash a value.