Documentation ¶
Index ¶
- func DeleteAllService(c *gin.Context)
- func DeleteService(c *gin.Context)
- func GenerateService(c *gin.Context)
- func GetNotesService(c *gin.Context)
- func NewService(c *gin.Context)
- func NoteService(c *gin.Context)
- func UpdateDestructive(c *gin.Context)
- func UpdateNoteService(c *gin.Context)
- func UpdateSettingsService(c *gin.Context)
- func WipeService(c *gin.Context)
- type DestructiveResponse
- type GetNotesResponse
- type Note
- type UpdateNoteResponse
- type UpdateSettingsResponse
- type UserCreate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAllService ¶
func DeleteService ¶
func GenerateService ¶
func GetNotesService ¶
func NewService ¶
func NoteService ¶
func UpdateDestructive ¶
func UpdateNoteService ¶
func UpdateSettingsService ¶
func WipeService ¶
Types ¶
type DestructiveResponse ¶
type GetNotesResponse ¶
type GetNotesResponse struct {
ID string `json:"id"`
}
type Note ¶
type Note struct { ID string `json:"id"` Name string `json:"name"` Observation string `json:"observation,omitempty"` Private bool `json:"private"` Text string `json:"text"` CreatedAt string `json:"createdAt"` Owner string `json:"owner"` Password string `json:"password"` Destructive bool `json:"destructive"` Turns int `json:"turns"` }
type UpdateNoteResponse ¶
type UpdateSettingsResponse ¶
type UserCreate ¶
Click to show internal directories.
Click to hide internal directories.