diff options
Diffstat (limited to 'api/dto/entry.go')
| -rw-r--r-- | api/dto/entry.go | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/api/dto/entry.go b/api/dto/entry.go index 85e39f3..8346b18 100644 --- a/api/dto/entry.go +++ b/api/dto/entry.go @@ -5,5 +5,17 @@ type CreateEntryRequest struct { Kind string `json:"kind"` Url string `json:"url"` Description string `json:"description"` - Token string `json:"token"` +} + +type UpdateEntryRequest struct { + Id int64 `json:"id"` + Kind string `json:"kind"` +} + +type DeleteEntryRequest struct { + Id int64 `json:"id"` +} + +type GetEntryRequest struct { + Url string `json:"url"` } |
