d2beeefe79
Add support for hashing time.Time within slices, which unbreaks auditing of requests returning the request counters. Break Hash into struct-specific func like HashAuth, HashRequest. Move all the copying/hashing logic from FormatRequest/FormatResponse into the new Hash* funcs. HashStructure now modifies in place instead of copying. Instead of returning an error when trying to hash map keys of type time.Time, ignore them, i.e. pass them through unhashed. Enable auditing on test clusters by default if the caller didn't specify any audit backends. If they do, they're responsible for setting it up. |
||
---|---|---|
.. | ||
audit.go | ||
format.go | ||
format_json.go | ||
format_json_test.go | ||
format_jsonx.go | ||
format_jsonx_test.go | ||
format_test.go | ||
formatter.go | ||
hashstructure.go | ||
hashstructure_test.go |