39e9ead982
Add context-aware network operations
...
- Implement context-aware versions of network operations
- Add request cancellation support throughout network code
- Use structured logging with context metadata
- Support timeout management with contexts
- Improve error handling with detailed logging
2025-06-29 22:38:38 +03:00
5f4da4f806
Improve error handling with xerrors package
...
- Replace custom error handling with xerrors package
- Enhance error descriptions for better debugging
- Add text utilities for string processing
- Update error tests to use standard errors package
- Add String() method to GeminiError
2025-06-29 22:38:38 +03:00
4ef3f70f1f
Implement structured logging with slog
...
- Replace zerolog with Go's standard slog package
- Add ColorHandler for terminal color output
- Add context-aware logging system
- Format attributes on the same line as log messages
- Use green color for INFO level logs
- Set up context value extraction helpers
2025-06-29 22:38:38 +03:00
b8ea6fab4a
Change errors to use xerrors package.
2025-06-29 22:38:38 +03:00
5fe1490f1e
Fix Makefile.
2025-06-29 22:38:38 +03:00
a41490f834
Fix linter warnings in gemini/network.go
...
Remove redundant nil checks before len() operations as len() for nil slices is defined as zero in Go.
2025-06-29 22:38:38 +03:00
701a5df44f
Improvements in error handling & descriptions
2025-02-27 09:20:22 +02:00
5b84960c5a
Use go_errors library everywhere.
2025-02-26 13:31:46 +02:00
be38104f05
Update license and readme.
2025-02-26 10:39:51 +02:00
d70d6c35a3
update gitignore
2025-02-26 10:37:20 +02:00
8399225046
Improve main error handling
2025-02-26 10:37:09 +02:00
e8e26ec76a
Use Go race detector
2025-02-26 10:36:51 +02:00
f6ac5003b0
Tidy go mod
2025-02-26 10:36:41 +02:00
e626aabecb
Add gemget script that downloads Gemini pages
2025-02-26 10:35:54 +02:00
ebf59c50b8
Add Gopherspace crawling!
2025-02-26 10:35:28 +02:00
2a041fec7c
Simplify host pool
2025-02-26 10:35:11 +02:00
ca008b0796
Reorganize code for more granular imports
2025-02-26 10:34:46 +02:00
8350e106d6
Reorganize errors
2025-02-26 10:32:38 +02:00
9c7502b2a8
Improve blacklist to use regex matching
2025-02-26 10:32:01 +02:00
dda21e833c
Add regex matching function to util
2025-01-16 22:37:39 +02:00
b0e7052c10
Add tidy & update Makefile targets
2025-01-16 22:37:39 +02:00
43b207c9ab
Simplify duplicate code
2025-01-16 22:37:39 +02:00
285f2955e7
Proper package in tests
2025-01-16 10:04:02 +02:00
998b0e74ec
Add DB scan error
2025-01-16 10:04:02 +02:00
766ee26f68
Simplify IP pool and convert it to host pool
2025-01-16 10:04:02 +02:00
5357ceb04d
Break up Gemtext link parsing code and improve tests.
2025-01-16 10:04:02 +02:00
03e1849191
Add mode that prints multiple worker status in console
2025-01-16 10:04:02 +02:00
ccb8f6838e
Update DB init instructions & README
2025-01-04 15:39:21 +02:00
4e6fad873b
Break up common functions and small refactor.
2025-01-04 15:31:26 +02:00
b78fe00221
Add license.
2024-12-27 12:13:05 +02:00
90f6ecd024
Add README.md and Makefile.
2024-12-27 12:11:35 +02:00
b52df073e9
Add first version of gemini-grc.
2024-12-27 12:09:55 +02:00
93822b239e
Initial commit.
2024-12-26 21:34:54 +02:00