diff options
Diffstat (limited to 'backend/handlers/logs.go')
| -rw-r--r-- | backend/handlers/logs.go | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/backend/handlers/logs.go b/backend/handlers/logs.go index 0fef6a1..c971f79 100644 --- a/backend/handlers/logs.go +++ b/backend/handlers/logs.go | |||
| @@ -11,8 +11,9 @@ import ( | |||
| 11 | ) | 11 | ) |
| 12 | 12 | ||
| 13 | const ( | 13 | const ( |
| 14 | LogTypeMod string = "Mod" | 14 | LogTypeMod string = "Mod" |
| 15 | LogTypeLogin string = "Login" | 15 | LogTypeLogin string = "Login" |
| 16 | LogTypeRecord string = "Record" | ||
| 16 | 17 | ||
| 17 | LogDescriptionLoginSuccess string = "Success" | 18 | LogDescriptionLoginSuccess string = "Success" |
| 18 | LogDescriptionLoginFailToken string = "TokenFail" | 19 | LogDescriptionLoginFailToken string = "TokenFail" |
| @@ -23,6 +24,15 @@ const ( | |||
| 23 | LogDescriptionMapSummaryEdit string = "MapSummaryEdit" | 24 | LogDescriptionMapSummaryEdit string = "MapSummaryEdit" |
| 24 | LogDescriptionMapSummaryEditImage string = "MapSummaryEditImage" | 25 | LogDescriptionMapSummaryEditImage string = "MapSummaryEditImage" |
| 25 | LogDescriptionMapSummaryDelete string = "MapSummaryDelete" | 26 | LogDescriptionMapSummaryDelete string = "MapSummaryDelete" |
| 27 | |||
| 28 | LogDescriptionRecordSuccess string = "Success" | ||
| 29 | LogDescriptionRecordFailInsertRecord string = "InsertRecordFail" | ||
| 30 | LogDescriptionRecordFailInsertDemo string = "InsertDemoFail" | ||
| 31 | LogDescriptionRecordFailProcessDemo string = "ProcessDemoFail" | ||
| 32 | LogDescriptionRecordFailCreateDemo string = "CreateDemoFail" | ||
| 33 | LogDescriptionRecordFailOpenDemo string = "OpenDemoFail" | ||
| 34 | LogDescriptionRecordFailSaveDemo string = "SaveDemoFail" | ||
| 35 | LogDescriptionRecordFailInvalidRequest string = "InvalidRequestFail" | ||
| 26 | ) | 36 | ) |
| 27 | 37 | ||
| 28 | type Log struct { | 38 | type Log struct { |