Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddNoteRequest ¶
AddNoteRequest represents the AddNoteHandlers request body structure
type AuthRequest ¶
type AuthRequest struct {
Email string `json:"email" bson:"email"`
UID string `json:"uid" bson:"uid"`
}
AuthRequest struct represents the POST method's request body structure
type EditNoteRequest ¶
type EditNoteRequest struct {
ID string `json:"_id" bson:"_id"`
Title string `json:"title,omitempty" bson:"title,omitempty"`
Data string `json:"data,omitempty" bson:"data,omitempty"`
IsPinned bool `json:"ispinned,omitempty" bson:"ispinned,omitempty"`
Label string `json:"label,omitempty" bson:"label,omitempty"`
Color string `json:"color,omitempty" bson:"color, omitempty"`
}
EditNoteRequest represents expected request body on editnote request
Click to show internal directories.
Click to hide internal directories.