From 4b31235efe9cb88c90a29ba3b402ea1682558066 Mon Sep 17 00:00:00 2001 From: Nick Cabatoff Date: Tue, 2 Jul 2019 15:29:30 -0400 Subject: [PATCH] Add godoc for AuditFormatWriter methods. --- audit/format.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/audit/format.go b/audit/format.go index e0bb8790bb6a..329e7ba7125a 100644 --- a/audit/format.go +++ b/audit/format.go @@ -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) }