2023-12-05 10:28:08 -08:00
|
|
|
package api
|
|
|
|
|
|
|
|
import "net/http"
|
|
|
|
|
2023-12-29 12:15:16 -08:00
|
|
|
// /savedata/get - get save data
|
2023-12-05 10:28:08 -08:00
|
|
|
|
|
|
|
type SavedataGetRequest struct{}
|
|
|
|
type SavedataGetResponse struct{}
|
|
|
|
|
2023-12-29 11:30:47 -08:00
|
|
|
func (s *Server) HandleSavedataGet(w http.ResponseWriter, r *http.Request) {
|
2023-12-05 10:28:08 -08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-12-29 12:15:16 -08:00
|
|
|
// /savedata/update - update save data
|
2023-12-05 10:28:08 -08:00
|
|
|
|
|
|
|
type SavedataUpdateRequest struct{}
|
|
|
|
type SavedataUpdateResponse struct{}
|
|
|
|
|
2023-12-29 11:30:47 -08:00
|
|
|
func (s *Server) HandleSavedataUpdate(w http.ResponseWriter, r *http.Request) {
|
2023-12-05 10:28:08 -08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-12-29 12:15:16 -08:00
|
|
|
// /savedata/delete - delete save date
|
2023-12-05 10:28:08 -08:00
|
|
|
|
|
|
|
type SavedataDeleteRequest struct{}
|
|
|
|
type SavedataDeleteResponse struct{}
|
|
|
|
|
2023-12-29 11:30:47 -08:00
|
|
|
func (s *Server) HandleSavedataDelete(w http.ResponseWriter, r *http.Request) {
|
2023-12-05 10:28:08 -08:00
|
|
|
|
|
|
|
}
|