adminhandlers

package
v0.0.0-...-f91bbc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCollaborator

func AddCollaborator(w http.ResponseWriter, r *http.Request)

func AddModule

func AddModule(w http.ResponseWriter, r *http.Request)

func AddTrack

func AddTrack(w http.ResponseWriter, r *http.Request)

AddTrack : add track to album

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 Favorite

func Favorite(w http.ResponseWriter, r *http.Request)

Favorite : favorite a site

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 GetGallery

func GetGallery(w http.ResponseWriter, r *http.Request)

GetGallery return 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 GetPhoto

func GetPhoto(w http.ResponseWriter, r *http.Request)

func GetPhotos

func GetPhotos(w http.ResponseWriter, r *http.Request)

GetPhotos : return photos

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 GetSite

func GetSite(w http.ResponseWriter, r *http.Request)

GetSite : return specific site

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 GetTrack

func GetTrack(w http.ResponseWriter, r *http.Request)

GetTrack : get specific track

func GetVideo

func GetVideo(w http.ResponseWriter, r *http.Request)

GetVideo : get specific video

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 UploadPhoto

func UploadPhoto(w http.ResponseWriter, r *http.Request)

UploadPhoto handler

func VerifyUser

func VerifyUser(w http.ResponseWriter, r *http.Request)

VerifyUser : verify user email

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL