audit-types: add Panic stage

This commit is contained in:
Dr. Stefan Schimanski 2017-05-29 13:24:21 +02:00
parent 451d0a436c
commit 3e9c8aaac6
2 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,8 @@ const (
// The stage for events generated once the response body has been completed, and no more bytes
// will be sent.
StageResponseComplete = "ResponseComplete"
// The stage for events generated when a panic occured.
StagePanic = "Panic"
)
// Event captures all the information that can be included in an API audit log.

View File

@ -62,6 +62,8 @@ const (
// The stage for events generated once the response body has been completed, and no more bytes
// will be sent.
StageResponseComplete = "ResponseComplete"
// The stage for events generated when a panic occured.
StagePanic = "Panic"
)
// Event captures all the information that can be included in an API audit log.