Commit graph

5 commits

Author SHA1 Message Date
ditatompel
40b9a6e1d6
Make sure cron goroutine is stopped
Adding struct chan to run cron Process to stop the goroutine.

Moving db migration inside `fiber.IsChild` block
to avoid multiple execution migration script when in prefork mode.

Give additional time for graceful shutdown.
2024-05-23 02:58:58 +07:00
ditatompel
8c1f6b0c43
Make cron as it's own package 2024-05-23 02:24:06 +07:00
ditatompel
d5f510ae32
Remove admin login logout handler and endpoints #2 2024-05-18 20:27:30 +07:00
ditatompel
7b6cfee31d
Set ./cmd/server/admin.go as entrypoint to server build 2024-05-18 18:42:32 +07:00
ditatompel
7dea8380b8
Separating client and server package #3
The client and server package is now separated, so I can build
additional server package with `-tags server`.
2024-05-18 17:59:54 +07:00
Renamed from cmd/serve.go (Browse further)