Documentation
¶
Overview ¶
Package audit records every change made through the admin API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Recorder ¶
type Recorder struct {
Store Store
// contains filtered or unexported fields
}
Recorder writes audit entries. Failures are logged, never returned: an action that happened must not report an error because of its audit.
func (*Recorder) Interceptor ¶
Interceptor records every call that may change something (any procedure not marked NO_SIDE_EFFECTS), with the user found by who. Put it inside the auth interceptor.
Click to show internal directories.
Click to hide internal directories.