Documentation ¶
Index ¶
- func AddCollaborator(w http.ResponseWriter, r *http.Request)
- func AddModule(w http.ResponseWriter, r *http.Request)
- func AddTrack(w http.ResponseWriter, r *http.Request)
- func AddVideo(w http.ResponseWriter, r *http.Request)
- func AuthenticateUser(w http.ResponseWriter, r *http.Request)
- func ChargeAccount(w http.ResponseWriter, r *http.Request)
- func CreateAlbum(w http.ResponseWriter, r *http.Request)
- func CreateGallery(w http.ResponseWriter, r *http.Request)
- func CreatePhoto(w http.ResponseWriter, r *http.Request)
- func CreateSite(w http.ResponseWriter, r *http.Request)
- func CreateUser(w http.ResponseWriter, r *http.Request)
- func CreateVideoGroup(w http.ResponseWriter, r *http.Request)
- func DeleteAlbum(w http.ResponseWriter, r *http.Request)
- func DeleteArticle(w http.ResponseWriter, r *http.Request)
- func DeleteFiles(w http.ResponseWriter, r *http.Request)
- func DeleteGallery(w http.ResponseWriter, r *http.Request)
- func DeletePhotos(w http.ResponseWriter, r *http.Request)
- func DeleteProject(w http.ResponseWriter, r *http.Request)
- func DeleteSite(w http.ResponseWriter, r *http.Request)
- func DeleteTrack(w http.ResponseWriter, r *http.Request)
- func DeleteUser(w http.ResponseWriter, r *http.Request)
- func DeleteVideo(w http.ResponseWriter, r *http.Request)
- func DeleteVideoGroup(w http.ResponseWriter, r *http.Request)
- func Favorite(w http.ResponseWriter, r *http.Request)
- func GetAbout(w http.ResponseWriter, r *http.Request)
- func GetAlbum(w http.ResponseWriter, r *http.Request)
- func GetAlbums(w http.ResponseWriter, r *http.Request)
- func GetArticle(w http.ResponseWriter, r *http.Request)
- func GetArticles(w http.ResponseWriter, r *http.Request)
- func GetCollaborators(w http.ResponseWriter, r *http.Request)
- func GetContact(w http.ResponseWriter, r *http.Request)
- func GetFiles(w http.ResponseWriter, r *http.Request)
- func GetGalleries(w http.ResponseWriter, r *http.Request)
- func GetGallery(w http.ResponseWriter, r *http.Request)
- func GetLanguages(w http.ResponseWriter, r *http.Request)
- func GetOverview(w http.ResponseWriter, r *http.Request)
- func GetPhoto(w http.ResponseWriter, r *http.Request)
- func GetPhotos(w http.ResponseWriter, r *http.Request)
- func GetProject(w http.ResponseWriter, r *http.Request)
- func GetProjects(w http.ResponseWriter, r *http.Request)
- func GetSelfUser(w http.ResponseWriter, r *http.Request)
- func GetSite(w http.ResponseWriter, r *http.Request)
- func GetSiteModules(w http.ResponseWriter, r *http.Request)
- func GetSites(w http.ResponseWriter, r *http.Request)
- func GetTrack(w http.ResponseWriter, r *http.Request)
- func GetVideo(w http.ResponseWriter, r *http.Request)
- func GetVideoGroup(w http.ResponseWriter, r *http.Request)
- func GetVideoGroups(w http.ResponseWriter, r *http.Request)
- func RemoveCollaborator(w http.ResponseWriter, r *http.Request)
- func RemoveModule(w http.ResponseWriter, r *http.Request)
- func RemoveSubscription(w http.ResponseWriter, r *http.Request)
- func SetDefaultGallery(w http.ResponseWriter, r *http.Request)
- func SetGalleryPreview(w http.ResponseWriter, r *http.Request)
- func TransferSite(w http.ResponseWriter, r *http.Request)
- func UpdateAbout(w http.ResponseWriter, r *http.Request)
- func UpdateAlbum(w http.ResponseWriter, r *http.Request)
- func UpdateAlbumsIndexes(w http.ResponseWriter, r *http.Request)
- func UpdateArticle(w http.ResponseWriter, r *http.Request)
- func UpdateContact(w http.ResponseWriter, r *http.Request)
- func UpdateFilename(w http.ResponseWriter, r *http.Request)
- func UpdateGalleriesIndexes(w http.ResponseWriter, r *http.Request)
- func UpdateGallery(w http.ResponseWriter, r *http.Request)
- func UpdatePhoto(w http.ResponseWriter, r *http.Request)
- func UpdatePhotoFile(w http.ResponseWriter, r *http.Request)
- func UpdatePhotosIndexes(w http.ResponseWriter, r *http.Request)
- func UpdateProject(w http.ResponseWriter, r *http.Request)
- func UpdateSite(w http.ResponseWriter, r *http.Request)
- func UpdateTrack(w http.ResponseWriter, r *http.Request)
- func UpdateTracksIndexes(w http.ResponseWriter, r *http.Request)
- func UpdateUser(w http.ResponseWriter, r *http.Request)
- func UpdateUserPassword(w http.ResponseWriter, r *http.Request)
- func UpdateVideo(w http.ResponseWriter, r *http.Request)
- func UpdateVideoGroup(w http.ResponseWriter, r *http.Request)
- func UpdateVideoGroupsIndexes(w http.ResponseWriter, r *http.Request)
- func UpdateVideosIndexes(w http.ResponseWriter, r *http.Request)
- func UploadFile(w http.ResponseWriter, r *http.Request)
- func UploadPhoto(w http.ResponseWriter, r *http.Request)
- func VerifyUser(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCollaborator ¶
func AddCollaborator(w http.ResponseWriter, r *http.Request)
func AddVideo ¶
func AddVideo(w http.ResponseWriter, r *http.Request)
AddVideo : add video to video group
func AuthenticateUser ¶
func AuthenticateUser(w http.ResponseWriter, r *http.Request)
AuthenticateUser authenticates user
func ChargeAccount ¶
func ChargeAccount(w http.ResponseWriter, r *http.Request)
func CreateAlbum ¶
func CreateAlbum(w http.ResponseWriter, r *http.Request)
CreateAlbum : create new album
func CreateGallery ¶
func CreateGallery(w http.ResponseWriter, r *http.Request)
CreateGallery handler
func CreatePhoto ¶
func CreatePhoto(w http.ResponseWriter, r *http.Request)
func CreateSite ¶
func CreateSite(w http.ResponseWriter, r *http.Request)
CreateSite : add site to db
func CreateUser ¶
func CreateUser(w http.ResponseWriter, r *http.Request)
CreateUser : Handler for `POST /users`
func CreateVideoGroup ¶
func CreateVideoGroup(w http.ResponseWriter, r *http.Request)
func DeleteAlbum ¶
func DeleteAlbum(w http.ResponseWriter, r *http.Request)
DeleteAlbum : remove album from db
func DeleteArticle ¶
func DeleteArticle(w http.ResponseWriter, r *http.Request)
DeleteArticle : remove article from db
func DeleteFiles ¶
func DeleteFiles(w http.ResponseWriter, r *http.Request)
DeleteFiles : remove files from db & gcloud
func DeleteGallery ¶
func DeleteGallery(w http.ResponseWriter, r *http.Request)
DeleteGallery handler
func DeletePhotos ¶
func DeletePhotos(w http.ResponseWriter, r *http.Request)
DeletePhotos : remove photos from db & g cloud
func DeleteProject ¶
func DeleteProject(w http.ResponseWriter, r *http.Request)
DeleteProject : remove project from db
func DeleteSite ¶
func DeleteSite(w http.ResponseWriter, r *http.Request)
DeleteSite : remove all galleries, projects, photos, about, contact
func DeleteTrack ¶
func DeleteTrack(w http.ResponseWriter, r *http.Request)
DeleteTrack : remove track from album
func DeleteUser ¶
func DeleteUser(w http.ResponseWriter, r *http.Request)
DeleteUser : remove user from db and also remove sheets & workbooks
func DeleteVideo ¶
func DeleteVideo(w http.ResponseWriter, r *http.Request)
DeleteVideo : remove video from video group
func DeleteVideoGroup ¶
func DeleteVideoGroup(w http.ResponseWriter, r *http.Request)
func GetAbout ¶
func GetAbout(w http.ResponseWriter, r *http.Request)
GetAbout : return about content of site
func GetAlbum ¶
func GetAlbum(w http.ResponseWriter, r *http.Request)
GetAlbum : return specific album
func GetAlbums ¶
func GetAlbums(w http.ResponseWriter, r *http.Request)
GetAlbums : return albums of site
func GetArticle ¶
func GetArticle(w http.ResponseWriter, r *http.Request)
GetArticle : return specific article
func GetArticles ¶
func GetArticles(w http.ResponseWriter, r *http.Request)
GetArticles : return array of article of site
func GetCollaborators ¶
func GetCollaborators(w http.ResponseWriter, r *http.Request)
func GetContact ¶
func GetContact(w http.ResponseWriter, r *http.Request)
GetContact : return contact data about site
func GetFiles ¶
func GetFiles(w http.ResponseWriter, r *http.Request)
GetFiles : Return array of files for site
func GetGalleries ¶
func GetGalleries(w http.ResponseWriter, r *http.Request)
GetGalleries : return array of gallery
func GetLanguages ¶
func GetLanguages(w http.ResponseWriter, r *http.Request)
GetLanguages : return array of languages
func GetOverview ¶
func GetOverview(w http.ResponseWriter, r *http.Request)
GetOverview : return site overview informations
func GetProject ¶
func GetProject(w http.ResponseWriter, r *http.Request)
GetProject : return project using shortid
func GetProjects ¶
func GetProjects(w http.ResponseWriter, r *http.Request)
GetProjects : return array of projects of site
func GetSelfUser ¶
func GetSelfUser(w http.ResponseWriter, r *http.Request)
GetSelfUser return self data
func GetSiteModules ¶
func GetSiteModules(w http.ResponseWriter, r *http.Request)
func GetSites ¶
func GetSites(w http.ResponseWriter, r *http.Request)
GetSites : return list of sites for a given user
func GetVideoGroup ¶
func GetVideoGroup(w http.ResponseWriter, r *http.Request)
func GetVideoGroups ¶
func GetVideoGroups(w http.ResponseWriter, r *http.Request)
func RemoveCollaborator ¶
func RemoveCollaborator(w http.ResponseWriter, r *http.Request)
func RemoveModule ¶
func RemoveModule(w http.ResponseWriter, r *http.Request)
RemoveModule : remove module from site & all data associated
func RemoveSubscription ¶
func RemoveSubscription(w http.ResponseWriter, r *http.Request)
func SetDefaultGallery ¶
func SetDefaultGallery(w http.ResponseWriter, r *http.Request)
func SetGalleryPreview ¶
func SetGalleryPreview(w http.ResponseWriter, r *http.Request)
func TransferSite ¶
func TransferSite(w http.ResponseWriter, r *http.Request)
func UpdateAbout ¶
func UpdateAbout(w http.ResponseWriter, r *http.Request)
UpdateAbout : update about content of site
func UpdateAlbum ¶
func UpdateAlbum(w http.ResponseWriter, r *http.Request)
UpdateAlbum : rename & change image
func UpdateAlbumsIndexes ¶
func UpdateAlbumsIndexes(w http.ResponseWriter, r *http.Request)
UpdateAlbumsIndxes : update order of albums
func UpdateArticle ¶
func UpdateArticle(w http.ResponseWriter, r *http.Request)
UpdateArticle : create/update article
func UpdateContact ¶
func UpdateContact(w http.ResponseWriter, r *http.Request)
UpdateContact : update contact data
func UpdateFilename ¶
func UpdateFilename(w http.ResponseWriter, r *http.Request)
UpdateFilename : update filename on gcloud
func UpdateGalleriesIndexes ¶
func UpdateGalleriesIndexes(w http.ResponseWriter, r *http.Request)
func UpdateGallery ¶
func UpdateGallery(w http.ResponseWriter, r *http.Request)
UpdateGallery handler
func UpdatePhoto ¶
func UpdatePhoto(w http.ResponseWriter, r *http.Request)
func UpdatePhotoFile ¶
func UpdatePhotoFile(w http.ResponseWriter, r *http.Request)
func UpdatePhotosIndexes ¶
func UpdatePhotosIndexes(w http.ResponseWriter, r *http.Request)
UpdatePhotosIndexes : change order of photos
func UpdateProject ¶
func UpdateProject(w http.ResponseWriter, r *http.Request)
UpdateProject : Update or insert new project
func UpdateSite ¶
func UpdateSite(w http.ResponseWriter, r *http.Request)
UpdateSite : update site informations
func UpdateTrack ¶
func UpdateTrack(w http.ResponseWriter, r *http.Request)
UpdateTrack : update track informations
func UpdateTracksIndexes ¶
func UpdateTracksIndexes(w http.ResponseWriter, r *http.Request)
UpdateTracksIndexes : update tracks order
func UpdateUser ¶
func UpdateUser(w http.ResponseWriter, r *http.Request)
UpdateUser : update self data
func UpdateUserPassword ¶
func UpdateUserPassword(w http.ResponseWriter, r *http.Request)
UpdateUserPassword : update user password
func UpdateVideo ¶
func UpdateVideo(w http.ResponseWriter, r *http.Request)
UpdateVideo : update informations of video (title, url)
func UpdateVideoGroup ¶
func UpdateVideoGroup(w http.ResponseWriter, r *http.Request)
UpdateVideoGroup : rename & change image
func UpdateVideoGroupsIndexes ¶
func UpdateVideoGroupsIndexes(w http.ResponseWriter, r *http.Request)
func UpdateVideosIndexes ¶
func UpdateVideosIndexes(w http.ResponseWriter, r *http.Request)
UpdateVideoIndexes : update order of videos in video group
func UploadFile ¶
func UploadFile(w http.ResponseWriter, r *http.Request)
UploadFile : upload file to gcloud
func VerifyUser ¶
func VerifyUser(w http.ResponseWriter, r *http.Request)
VerifyUser : verify user email
Types ¶
This section is empty.