| Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
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
|
|
- For this an `internal/types` package is created with a custom error type
- This custom error type can give back the cause and traceback of an error
|
|
|