Documentation ¶
Index ¶
- Variables
- func AssignFaceToBoxHandler(c *gin.Context)
- func ClassifyFacesHandler(c *gin.Context)
- func CreateJokeHandler(c *gin.Context)
- func DeleteJokeHandler(c *gin.Context)
- func DeletePhotoHandler(c *gin.Context)
- func GetFaceHandler(c *gin.Context)
- func GetFacesHandler(c *gin.Context)
- func GetJokesHandler(c *gin.Context)
- func GetLabelHandler(c *gin.Context)
- func GetLabelsHandler(c *gin.Context)
- func GetPhotoHandler(c *gin.Context)
- func GetPhotosByMonthHandler(c *gin.Context)
- func GetPhotosHandler(c *gin.Context)
- func GetUnassignedBoxesHandler(c *gin.Context)
- func LikeJoke(c *gin.Context)
- func PreUploadMobileHandler(c *gin.Context)
- func SearchHandler(c *gin.Context)
- func UploadHandler(c *gin.Context)
- func UploadMobileHandler(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
var MyStore store.Store
MyStore is a global storage reference for all controllers
Functions ¶
func AssignFaceToBoxHandler ¶
AssignFaceToBoxHandler assigns the specified face in the database (or creates a new one if necessary) to the provided box
func ClassifyFacesHandler ¶
ClassifyFacesHandler runs the face classifier on all unassigned images
func DeleteJokeHandler ¶
DeleteJokeHandler deletes specific joke with provided ID
func DeletePhotoHandler ¶
DeletePhotoHandler deletes a specific photo by ID
func GetJokesHandler ¶
GetJokesHandler gets a list of all jokes stored in the database
func GetLabelHandler ¶
GetLabelHandler gets a specific label by id
func GetPhotoHandler ¶
GetPhotoHandler gets a specific photo by ID
func GetPhotosByMonthHandler ¶
GetPhotosByMonthHandler gets all photos
func GetUnassignedBoxesHandler ¶
GetUnassignedBoxesHandler gets all boxes that are not assigned to a person
func PreUploadMobileHandler ¶
PreUploadMobileHandler handles takes data about photos that the mobile device is trying to upload and returns the JSON containing the new files that should be uploaded
func UploadHandler ¶
UploadHandler handles the upload of multiple files to "photo_storage/" folder
func UploadMobileHandler ¶
UploadMobileHandler handles the upload of multiple files to "photo_storage/" folder from a mobile device. The EXIF data arrives separately in the request
Types ¶
This section is empty.