Skip to content

Commit

Permalink
Add godoc for AuditFormatWriter methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
ncabatoff committed Jul 2, 2019
1 parent 9fa7da3 commit 4b31235
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions audit/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ import (
)

type AuditFormatWriter interface {
// WriteRequest writes the request entry to the writer or returns an error.
WriteRequest(io.Writer, *AuditRequestEntry) error
// WriteResponse writes the response entry to the writer or returns an error.
WriteResponse(io.Writer, *AuditResponseEntry) error
// Salt returns a non-nil salt or an error.
Salt(context.Context) (*salt.Salt, error)
}

Expand Down

0 comments on commit 4b31235

Please sign in to comment.