Files
2025-11-25 13:56:18 +07:00

21 lines
564 B
Go

package installation
import (
plugin "simrs-vx/internal/use-case/simgos-sync-plugin/new/installation"
)
// example of middleware
func init() {
createPreMw = append(createPreMw,
createMw{Name: "sync-create-installation", Func: plugin.Create})
createSimxLogMw = append(createSimxLogMw,
createLogMw{Name: "create-sync-log", Func: plugin.CreateLog})
updatePreMw = append(updatePreMw,
updateMw{Name: "sync-update-installation", Func: plugin.Update})
deletePreMw = append(deletePreMw,
deleteMw{Name: "sync-delete-installation", Func: plugin.Delete})
}