2023-09-21 16:43:11 +01:00
|
|
|
package models
|
|
|
|
|
|
|
|
import (
|
2023-09-23 11:44:36 +01:00
|
|
|
model_classes "git.andr3h3nriqu3s.com/andr3/fyp/logic/models/classes"
|
2023-09-26 20:15:28 +01:00
|
|
|
models_train "git.andr3h3nriqu3s.com/andr3/fyp/logic/models/train"
|
2023-09-23 11:44:36 +01:00
|
|
|
. "git.andr3h3nriqu3s.com/andr3/fyp/logic/utils"
|
2023-09-21 16:43:11 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
func HandleModels (handle *Handle) {
|
|
|
|
handleAdd(handle)
|
|
|
|
handleEdit(handle)
|
|
|
|
handleDelete(handle)
|
|
|
|
handleList(handle)
|
2023-09-22 19:22:36 +01:00
|
|
|
|
|
|
|
// Data endpoints
|
|
|
|
handleDataUpload(handle)
|
2023-09-23 11:44:36 +01:00
|
|
|
|
|
|
|
model_classes.HandleList(handle)
|
2023-09-26 20:15:28 +01:00
|
|
|
|
|
|
|
// Train endpoints
|
2023-09-28 12:16:36 +01:00
|
|
|
handleRun(handle)
|
2023-09-26 20:15:28 +01:00
|
|
|
models_train.HandleTrainEndpoints(handle)
|
2023-09-21 16:43:11 +01:00
|
|
|
}
|
2023-09-22 19:22:36 +01:00
|
|
|
|