|
|
52bf759e7f
|
docs(tinyssert): add example of using dependency injection
|
2025-05-14 11:33:34 -03:00 |
|
|
|
a0d8a88bef
|
feat(tinyssert): update top-level methods, export Default implementation
|
2025-05-14 11:33:10 -03:00 |
|
|
|
d425c35414
|
feat(tinyssert): update disabled assertions implementation
|
2025-05-14 11:32:32 -03:00 |
|
|
|
62e4743aba
|
feat(tinyssert): major refactor, APIs now return a Failure error instead of booleans, options are now functional
|
2025-05-14 11:32:08 -03:00 |
|
|
|
9c59adeba8
|
docs(tinyssert): add documentation about msg argument in methods
|
2025-05-14 11:30:42 -03:00 |
|
|
|
ceda7536f1
|
fix(smalltrip,exception): make MethodNotAllowed error more clear about allowed methods
|
2025-03-11 19:28:25 -03:00 |
|
|
|
56e822a184
|
feat(smallstrip,middleware): rename Dev middleware to DisableCache
|
2025-03-06 18:44:33 -03:00 |
|
|
|
0ccb26ab78
|
refactor(smalltrip,exception): rename exceptions package to exception, singular form
|
2025-03-05 13:51:22 -03:00 |
|
|
|
883118156a
|
fix(smallstrip,exceptions): missing return causing nil de-reference
|
2025-03-05 12:21:50 -03:00 |
|
|
|
a2452dd239
|
fix(smallstrip,exceptions): superfulous call when responding exception after first Write
|
2025-03-05 11:51:14 -03:00 |
|
|
|
9055d4ad3a
|
feat(smallstrip,exceptions): improve default exception template
|
2025-03-05 10:41:58 -03:00 |
|
|
|
05619c382c
|
revert(smalltrip,middleware): remove net.ParseIP to validate ip address
|
2025-03-05 09:57:04 -03:00 |
|
|
|
a16254848b
|
fix(smalltrip): middlewares are not wrapped with previous ones
|
2025-03-05 09:45:56 -03:00 |
|
|
|
3851ae51f7
|
revert(smalltrip,middleware): remove premature optimization from logger
|
2025-03-05 09:45:31 -03:00 |
|
|
|
f3317501f7
|
fix(smalltrip,middleware): cache directives using floats instead of int
|
2025-03-05 09:12:13 -03:00 |
|
|
|
357ec79656
|
chore(deps): remove unused dependencies from go.mod
|
2025-03-04 17:41:24 -03:00 |
|
|
|
90a5169f1b
|
chore(smalltrip): format the copyright author line
|
2025-02-27 16:21:57 -03:00 |
|
|
|
49192ad704
|
chore(smalltrip): add LICENSE file and headers
|
2025-02-27 16:21:01 -03:00 |
|
|
|
88631bff47
|
fix(smalltrip,middleware): import statement still poiting to groute
|
2025-02-27 16:20:35 -03:00 |
|
|
|
19297f7658
|
chore(groute): remove unused groute package
|
2025-02-27 15:45:07 -03:00 |
|
|
|
98f1701a84
|
chore(tinyssert): update names in README.md
|
2025-02-27 15:44:26 -03:00 |
|
|
|
645690b7f8
|
refactor(smalltrip): remove unecessary length argument in make
|
2025-02-26 19:30:25 -03:00 |
|
|
|
1a40569716
|
refactor(smalltrip): rename handleRouter to handleGroup
|
2025-02-26 19:30:06 -03:00 |
|
|
|
1208c26780
|
refactor(tinyssert): remove uncessessary else statement
|
2025-02-26 19:29:36 -03:00 |
|
|
|
81e36b8acc
|
docs(tinyssert): make NewDisableAssertion docs follow revive's rules
|
2025-02-26 19:24:25 -03:00 |
|
|
|
25582aabf4
|
refactor(tinyssert): move NewDisabledAssertions definition closer to disabledAssertions
|
2025-02-26 19:20:19 -03:00 |
|
|
|
d8f92c848e
|
refactor(tinyssert): remove unecessary undercode receiver
|
2025-02-26 19:19:02 -03:00 |
|
|
|
58a158f446
|
chore(tinissert): fix path of the original file in license notice
|
2025-02-26 19:07:25 -03:00 |
|
|
|
57f8113401
|
fix(smallstrip,middleware): rename bool variable to not conflict with built-in id
|
2025-02-26 18:38:49 -03:00 |
|
|
|
a6285d27a0
|
feat(smalltrip,middleware): check interface of directives struct
|
2025-02-26 18:37:34 -03:00 |
|
|
|
abf96bf3f6
|
refactor(smalltrip,exceptions): use std log levels as Severity Levels
|
2025-02-26 18:12:22 -03:00 |
|
|
|
a8439efc49
|
feat(smalltrip,exceptions): make panic errors be of severity FATAL
|
2025-02-26 17:51:21 -03:00 |
|
|
|
7bbd2836a6
|
feat(smalltrip,exceptions): PanicMiddleware to recover from unexcepted panics
|
2025-02-26 17:48:44 -03:00 |
|
|
|
b6101c7d1d
|
docs(smalltrip,exceptions): add MDN documentation for each status code on 500s contructors
|
2025-02-26 16:47:03 -03:00 |
|
|
|
ad17abe01c
|
feat(smalltrip,exceptions): retryAfter in 503 Service Unavailable exceptionn
|
2025-02-26 16:39:35 -03:00 |
|
|
|
59a5ea56eb
|
docs(smalltrip,exceptions): document all 500s status code constructors
|
2025-02-26 16:03:15 -03:00 |
|
|
|
b226d51bda
|
feat(smalltrip,exceptions): 500 exceptions constructors
|
2025-02-26 15:58:23 -03:00 |
|
|
|
5feeb15561
|
docs(smalltrip,exceptions): add MDN documentation for each status code on 400s contructors
|
2025-02-26 10:54:38 -03:00 |
|
|
|
affe3a61d1
|
docs(smalltrip,exceptions): document all 400s status code constructors
|
2025-02-26 10:54:18 -03:00 |
|
|
|
05af766cf2
|
feat(smalltrip,exceptions): constructor for all 400 status codes
|
2025-02-26 10:51:10 -03:00 |
|
|
|
5eabc13516
|
feat(smalltrip,exceptions): exception constructor
|
2025-02-26 10:47:19 -03:00 |
|
|
|
5c562eb363
|
feat(smalltrip,exceptions): headers field for additional headers to be sent with exception
|
2025-02-25 16:00:21 -03:00 |
|
|
|
5ff4f3a79b
|
feat(smalltrip,exceptions): Data field for additional contextual data
|
2025-02-25 15:59:48 -03:00 |
|
|
|
d461f2a8c8
|
feat(smalltrip,exceptions): Severity type implementation
|
2025-02-25 14:31:23 -03:00 |
|
|
|
cef5a31545
|
feat(smalltrip,exceptions): exception middleware to provide handlers depending of Accept header
|
2025-02-25 14:31:02 -03:00 |
|
|
|
ef8261752f
|
feat(smalltrip,exceptions): use a JSON handler if none is provided via the context
|
2025-02-25 14:30:14 -03:00 |
|
|
|
efceb2efd6
|
feat(smalltrip): new exceptions package for structurerd error codes
|
2025-02-25 14:28:07 -03:00 |
|
|
|
b9726e04a0
|
chore: configure golangci-lint rules
|
2025-02-24 08:06:21 -03:00 |
|
|
|
dec6bcb1a1
|
feat(smalltrip): TODO PersistentCache middlware
|
2025-02-24 08:05:37 -03:00 |
|
|
|
054bcefdd7
|
feat(smalltrip): TODO SmartCache middlware
|
2025-02-24 08:04:49 -03:00 |
|