Documentation
¶
Index ¶
- func CreateNote(ctx context.Context, input model.CreateNoteInput, srv service.NoteService) (*model.Note, error)
- func CreatePresignedURL(ctx context.Context, objectName []string, srv service.NoteService) (*model.CreatePresignedUrlsResponse, error)
- func DeleteNote(ctx context.Context, id string, srv service.NoteService) (bool, error)
- func ListNotes(ctx context.Context, input *model.NotesInput, srv service.NoteService) (*model.NotesResponse, error)
- func Me(ctx context.Context, srv service.AuthenticationService) (*model.User, error)
- func RestoreNote(ctx context.Context, id string, srv service.NoteService) (bool, error)
- func SignIn(ctx context.Context, input model.SignInInput, ...) (*model.SignInResponse, error)
- func SignOut(ctx context.Context, srv service.AuthenticationService) (bool, error)
- func SoftDeleteNote(ctx context.Context, id string, srv service.NoteService) (bool, error)
- func UpdateNote(ctx context.Context, id string, input model.UpdateNoteInput, ...) (*model.Note, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNote ¶
func CreateNote(ctx context.Context, input model.CreateNoteInput, srv service.NoteService) (*model.Note, error)
CreateNote is the resolver for the createNote field.
func CreatePresignedURL ¶
func CreatePresignedURL(ctx context.Context, objectName []string, srv service.NoteService) (*model.CreatePresignedUrlsResponse, error)
CreatePresignedURL is the resolver for the createPresignedUrl field.
func DeleteNote ¶
DeleteNote is the resolver for the deleteNote field.
func ListNotes ¶
func ListNotes(ctx context.Context, input *model.NotesInput, srv service.NoteService) (*model.NotesResponse, error)
ListNotes is the resolver for the notes field.
func RestoreNote ¶
RestoreNote is the resolver for the restoreNote field.
func SignIn ¶
func SignIn(ctx context.Context, input model.SignInInput, srv service.AuthenticationService) (*model.SignInResponse, error)
SignIn is the resolver for the signIn field.
func SoftDeleteNote ¶
SoftDeleteNote is the resolver for the softDeleteNotes field.
func UpdateNote ¶
func UpdateNote(ctx context.Context, id string, input model.UpdateNoteInput, srv service.NoteService) (*model.Note, error)
UpdateNote is the resolver for the updateNote field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.