Files
simrsx-be/internal/use-case/main-use-case/soapi/middleware.go
2025-12-03 14:02:29 +07:00

18 lines
499 B
Go

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