diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-04 22:44:33 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-04 22:44:33 -0700 |
| commit | 624985afaaa8b94e4d9685bcdc935d467f9e7060 (patch) | |
| tree | 7b13e8f4ccf75b6042bebea7fb239570644a216e /internal/api/api.go | |
| parent | 573601b19c8ae582adcd1a7c4b8c0ebfa4295aed (diff) | |
| download | roseh.moe-624985afaaa8b94e4d9685bcdc935d467f9e7060.tar.zst | |
Allow downloading without gob
Diffstat (limited to 'internal/api/api.go')
| -rw-r--r-- | internal/api/api.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/api/api.go b/internal/api/api.go index 88a0011..6c9ab3a 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -38,6 +38,7 @@ type ListNotesResponse struct { type CreateNoteRequest struct { ContinuationToken []byte + FileName string Chunk []byte More bool } @@ -52,7 +53,8 @@ type ReadNoteRequest struct { } type ReadNoteResponseStream struct { - Chunk []byte + FileName string + Chunk []byte } type DeleteNoteRequest struct{} |
