summaryrefslogtreecommitdiff
path: root/types
AgeCommit message (Collapse)Author
2023-09-25Types Server: Implement required ask transition needed for clientjwijenbergh
2023-09-25Types: Add a new cookie typejwijenbergh
Used as a specialized context in state callbacks and for cancellation
2023-09-25Types Server: Pass locations to secure internetjwijenbergh
2023-09-25Exports + Client: Refactor registering a clientjwijenbergh
- Make sure the global exports state is only set on successful creating - Only call discovery when adding a server to ensure we get the most up to date args. Creating a client should have no network calls. Fixes #12 - Split creating a client in New and Register in the GO api
2023-09-25Docs + Types server: Add comments about script-securityjwijenbergh
2023-09-25Types: Add comments describing the fields, types, packages and functionsjwijenbergh
2023-09-25Types Server: Remove identifier from profilejwijenbergh
It is already contained in the profiles map as the key
2023-09-25Types: Split server into subpackagejwijenbergh
2023-09-25Types: Split discovery into its own packagejwijenbergh
2023-09-25Format: Run gofumptjwijenbergh
2023-09-25Types: Split protocol into its ownjwijenbergh
2023-09-25Types: Move public types to one filejwijenbergh
2022-12-12simplify error handlingAleksandar Pesic
fixes #6 Signed-off-by: Aleksandar Pesic <peske.nis@gmail.com>
2022-11-28Lint: Use gocritic linter and fix errors returned by itjwijenbergh
2022-11-28Lint: Run godot fixjwijenbergh
Full command: golangci-lint run --disable-all -E godot --fix
2022-11-28Refactor: Remove most get prefixes for receiver functionsjwijenbergh
2022-11-24Style: Use stylecheck and fix errorsjwijenbergh
2022-10-19Refactor: Make errors use the parent's error leveljwijenbergh
- All wrapped errors have to be created with types.NewWrappedError to inherit the error level from the parent - Or types.NewWrappedErrorLevel can be used which means a custom error level is given. For example this is done with cancelling OAuth - Client public errors are forwarded with handleError that also logs it with the error's level
2022-10-19Discovery + Server: Remove unused 'Raw' stringsjwijenbergh
2022-09-27Log: Add 'inherit' that sets the error level as the log leveljwijenbergh
2022-09-26Refactor: Errors into custom export types and expose typesjwijenbergh