aboutsummaryrefslogtreecommitdiff
path: root/eventlogging
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-10-12 20:49:25 (UTC)
committerrtz12 <koenig@fagott.pw>2016-10-12 20:49:25 (UTC)
commitc582d1cd2ff9f0f642ff750c73fc04c962dc5560 (patch)
tree91fa99bb6eed2af3462f892daab5b142b033fde1 /eventlogging
parent593659727c0b30e8806dbd622c45760865467be2 (diff)
Logging fuer Series und Tags eingebaut
Diffstat (limited to 'eventlogging')
-rw-r--r--eventlogging/events.txt2
-rw-r--r--eventlogging/types.go14
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
6DELETE_LIST 6DELETE_LIST
7EDIT_LIST 7EDIT_LIST
8CHANGE_GRIL_ORDER 8CHANGE_GRIL_ORDER
9VIEW_SERIES
10VIEW_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
54type ViewSeriesData struct {
55 EventLoggerData
56 SeriesID int `json:"seriesId"`
57}
58
59type 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}