diff options
author | rtz12 <koenig@fagott.pw> | 2016-10-11 18:53:22 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-10-11 18:53:22 (UTC) |
commit | fbd746aef8c78067593f901afb0f255574392499 (patch) | |
tree | 10b91eabfc5696d5e0fe27f1649bd72b9ed461e5 /eventlogging/types.go | |
parent | bf51b2e4a035a988b9e9cef737966846c619dace (diff) |
NSA implementiert
Diffstat (limited to 'eventlogging/types.go')
-rw-r--r-- | eventlogging/types.go | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/eventlogging/types.go b/eventlogging/types.go new file mode 100644 index 0000000..96d0ce0 --- /dev/null +++ b/eventlogging/types.go | |||
@@ -0,0 +1,52 @@ | |||
1 | package eventlogging | ||
2 | |||
3 | type ViewGrilData struct { | ||
4 | EventLoggerData | ||
5 | GrilID int | ||
6 | } | ||
7 | |||
8 | type ViewListData struct { | ||
9 | EventLoggerData | ||
10 | ListID int | ||
11 | } | ||
12 | |||
13 | type CreateListData struct { | ||
14 | EventLoggerData | ||
15 | ListID int | ||
16 | Name string | ||
17 | Description string | ||
18 | } | ||
19 | |||
20 | type AddGrilToListData struct { | ||
21 | EventLoggerData | ||
22 | GrilID int | ||
23 | ListID int | ||
24 | } | ||
25 | |||
26 | type DeleteGrilFromListData struct { | ||
27 | EventLoggerData | ||
28 | ListID int | ||
29 | GrilID int | ||
30 | } | ||
31 | |||
32 | type DeleteListData struct { | ||
33 | EventLoggerData | ||
34 | ListID int | ||
35 | } | ||
36 | |||
37 | type EditListData struct { | ||
38 | EventLoggerData | ||
39 | ListID int | ||
40 | OldName string | ||
41 | OldDescription string | ||
42 | NewName string | ||
43 | NewDescription string | ||
44 | } | ||
45 | |||
46 | type ChangeGrilOrderData struct { | ||
47 | EventLoggerData | ||
48 | ListID int | ||
49 | GrilID int | ||
50 | OldOrder int | ||
51 | NewOrder int | ||
52 | } | ||