Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Claims ¶
type Claims struct { jwt.StandardClaims ID string `json:"id"` }
type JSONResponse ¶
type Service ¶
type Service interface { GetFile(ctx context.Context, noteUUID, fileName string) (f *storage.File, err error) GetFilesByNoteUUID(ctx context.Context, noteUUID string) ([]*storage.File, error) Create(ctx context.Context, noteUUID string, dto storage.CreateFileDTO) error Delete(ctx context.Context, noteUUID, fileName string) error }
Click to show internal directories.
Click to hide internal directories.