summaryrefslogtreecommitdiff
path: root/internal/server/secureinternet.go
AgeCommit message (Collapse)Author
2022-09-07Refactor: Remove the usage of the FSM in other internal packagesjwijenbergh
This removes the FSM from being imported and thus used in other internal packages such as `oauth` or `server`. The benefit is that it becomes much easier now to reason about the FSM as it's only used in the public package. Additionally, we do not have to re-initialize the server and the oauth structure with the FSM pointer.
2022-08-24State + Server + Exports: Implement removing a serverjwijenbergh
2022-08-23Formatting: Run golinesjwijenbergh
2022-07-20Refactor: Do not log in internal packagesjwijenbergh
The reason behind this is that we then do not have to pass a lot to each function. Logging inside internal packages is less useful as we want to let them return errors and only log in the 'public' facing API or let the client decide
2022-07-19Server: Split CustomServer and split types into multiple filesjwijenbergh