Commit Graph

6 Commits

Author SHA1 Message Date
ekzyis 7558655458 refactor: Structure code into different packages
I have put too much code into the same files.

Also, I put everything into the same package: main.

This package is only meant for executables.

Therefore, I have refactored my code to use multiple packages. These packages also guarantee separation of concerns since Golang doesn't allow cyclic imports.
2023-09-10 23:13:08 +02:00
ekzyis 82f6f9698e Fix ReferenceError 2023-09-09 22:52:51 +02:00
ekzyis a01d4488cc Render or poll invoice status 2023-09-09 22:52:51 +02:00
ekzyis d987934ba4 Add user page 2023-09-09 22:52:51 +02:00
ekzyis e5f5759871 Redirect after payment 2023-09-09 22:52:51 +02:00
ekzyis 921623ee4d Respond with 402 Payment Required 2023-09-09 22:52:51 +02:00