add patient

This commit is contained in:
vanilia
2025-11-19 13:21:04 +07:00
parent 7ea69720bb
commit 8644bcaedc
26 changed files with 1454 additions and 79 deletions
@@ -7,14 +7,14 @@ import (
// example of middleware
func init() {
createPreMw = append(createPreMw,
createMw{Name: "create-installation", Func: plugin.Create})
createMw{Name: "sync-create-installation", Func: plugin.Create})
createSimxLogMw = append(createSimxLogMw,
createLogMw{Name: "create-log", Func: plugin.CreateLog})
createLogMw{Name: "create-sync-log", Func: plugin.CreateLog})
updatePreMw = append(updatePreMw,
updateMw{Name: "update-installation", Func: plugin.Update})
updateMw{Name: "sync-update-installation", Func: plugin.Update})
deletePreMw = append(deletePreMw,
deleteMw{Name: "delete-installation", Func: plugin.Delete})
deleteMw{Name: "sync-delete-installation", Func: plugin.Delete})
}