Commit 1b65e8c4 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

refactor: make log entry constants of type LogEntryType

parent 9b5f8923
......@@ -15,11 +15,11 @@ var (
type LogEntryType string
const (
PinCheckRefused = "PIN_CHECK_REFUSED"
PinCheckSuccess = "PIN_CHECK_SUCCESS"
PinCheckFailed = "PIN_CHECK_FAILED"
PinCheckBlocked = "PIN_CHECK_BLOCKED"
IrmaSession = "IRMA_SESSION"
PinCheckRefused LogEntryType = "PIN_CHECK_REFUSED"
PinCheckSuccess LogEntryType = "PIN_CHECK_SUCCESS"
PinCheckFailed LogEntryType = "PIN_CHECK_FAILED"
PinCheckBlocked LogEntryType = "PIN_CHECK_BLOCKED"
IrmaSession LogEntryType = "IRMA_SESSION"
)
// Interface used by server to manage data storage
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment