diff options
author | rtz12 <koenig@fagott.pw> | 2016-10-12 20:49:25 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-10-12 20:49:25 (UTC) |
commit | c582d1cd2ff9f0f642ff750c73fc04c962dc5560 (patch) | |
tree | 91fa99bb6eed2af3462f892daab5b142b033fde1 /eventlogging | |
parent | 593659727c0b30e8806dbd622c45760865467be2 (diff) |
Logging fuer Series und Tags eingebaut
Diffstat (limited to 'eventlogging')
-rw-r--r-- | eventlogging/events.txt | 2 | ||||
-rw-r--r-- | eventlogging/types.go | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/eventlogging/events.txt b/eventlogging/events.txt index 0e170dc..cf07b40 100644 --- a/eventlogging/events.txt +++ b/eventlogging/events.txt | |||
@@ -6,3 +6,5 @@ DELETE_GRIL_FROM_LIST | |||
6 | DELETE_LIST | 6 | DELETE_LIST |
7 | EDIT_LIST | 7 | EDIT_LIST |
8 | CHANGE_GRIL_ORDER | 8 | CHANGE_GRIL_ORDER |
9 | VIEW_SERIES | ||
10 | VIEW_TAG | ||
diff --git a/eventlogging/types.go b/eventlogging/types.go index a835b26..29ad89d 100644 --- a/eventlogging/types.go +++ b/eventlogging/types.go | |||
@@ -50,3 +50,17 @@ type ChangeGrilOrderData struct { | |||
50 | OldOrder int `json:"oldOrder"` | 50 | OldOrder int `json:"oldOrder"` |
51 | NewOrder int `json:"newOrder"` | 51 | NewOrder int `json:"newOrder"` |
52 | } | 52 | } |
53 | |||
54 | type ViewSeriesData struct { | ||
55 | EventLoggerData | ||
56 | SeriesID int `json:"seriesId"` | ||
57 | } | ||
58 | |||
59 | type ViewTagData struct { | ||
60 | EventLoggerData | ||
61 | Tag string `json:"tag"` | ||
62 | TagID int `json:"tagId"` | ||
63 | Results int `json:"results"` | ||
64 | Pages int `json:"pages"` | ||
65 | Page int `json:"page"` | ||
66 | } | ||