Files
open-save-cloud-server/server/data.go
Aurélie Delhaie c06843cd28 Start refactoring
2023-05-29 17:44:50 +02:00

43 lines
1.1 KiB
Go

package server
import (
"net/http"
)
// createSaveEntryHandler create a game entry to the database
func (s *HTTPServer) createSaveEntryHandler(w http.ResponseWriter, r *http.Request) {
// TODO
}
// saveInformationHandler get the game save information from the database
func (s *HTTPServer) saveInformationHandler(w http.ResponseWriter, r *http.Request) {
// TODO
}
// allUserSavesInformationHandler all game saves information for a user
func (s *HTTPServer) allUserSavesInformationHandler(w http.ResponseWriter, r *http.Request) {
// TODO
}
// uploadDataHandler upload the game save archive to the storage folder
func (s *HTTPServer) uploadDataHandler(w http.ResponseWriter, r *http.Request) {
// TODO
}
// downloadDataHandler send the game save archive to the client
func (s *HTTPServer) downloadDataHandler(w http.ResponseWriter, r *http.Request) {
// TODO
}
func (s *HTTPServer) currentUserHandler(w http.ResponseWriter, r *http.Request) {
// TODO
}
func (s *HTTPServer) updateCurrentUserPasswordHandler(w http.ResponseWriter, r *http.Request) {
// TODO
}
func (s *HTTPServer) deleteSave(w http.ResponseWriter, r *http.Request) {
// TODO
}