7bb127526c
Refactor RawChannelReader to use a map for callbacks instead of a slice, enabling callback identification by ID. Update AddReadyCallback and RemoveReadyCallback methods accordingly. Adjust tests to reflect these changes.
2025-12-29 22:32:49 -06:00
aea98d4cae
Add unit tests for RawChannelReader and RawChannelWriter, including methods for reading, writing, and handling messages.
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 47s
Go Build Multi-Platform / build (amd64, windows) (push) Failing after 45s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 51s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 50s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 52s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 54s
Run Gosec / tests (push) Successful in 1m35s
Go Revive Lint / lint (push) Successful in 56s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m49s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 9m28s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 9m34s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 9m32s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 9m32s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 9m30s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 9m34s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-29 21:57:20 -06:00
49aee4818b
Add unit tests for various packages including config, buffer, debug, pathfinder, rate, and resolver.
2025-12-28 22:55:28 -06:00
a34c211872
refactor: format code and add more constants
Go Build Multi-Platform / build (amd64, darwin) (push) Failing after 12s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 51s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 49s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 49s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 57s
Go Build Multi-Platform / build (arm, windows) (push) Failing after 19s
Go Build Multi-Platform / build (arm, linux) (push) Failing after 21s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 44s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 48s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 47s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 46s
Run Gosec / tests (push) Successful in 45s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Revive Lint / lint (push) Successful in 9m48s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 19m13s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 19m19s
2025-12-28 22:27:16 -06:00
8e243a7c8b
Update import paths to use the new Gitea paths
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 34s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 38s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 37s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 32s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 35s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 34s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 37s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 42s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m29s
Go Revive Lint / lint (push) Successful in 47s
Run Gosec / tests (push) Successful in 1m3s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 27s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 44s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 42s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m5s
2025-12-20 20:02:49 -06:00
9b1f45ff77
Update module path to remove the GitHub
2025-12-20 19:19:30 -06:00
7573e942f1
refactor: streamline Read and Close methods in buffer.go for improved clarity and efficiency
2025-11-20 21:45:06 -06:00
5e0c829cf6
Fix: Address various static analysis warnings
...
- **pkg/announce/announce.go**: Added error handling for `rand.Read` to log potential issues when generating random hashes.
- **pkg/buffer/buffer.go**: Removed a redundant `#nosec G115` comment as the line no longer triggers the warning.
- **pkg/cryptography/aes.go**: Added `#nosec G407` to explicitly acknowledge the use of `cipher.NewCBCEncrypter` which is acceptable in this context.
- **pkg/transport/transport.go**: Removed redundant `#nosec G115` comments as the lines no longer trigger the warning.
2025-07-15 13:45:48 -05:00
b9aebc8406
gosec fixes and added #nosec where necassary
2025-07-06 00:33:50 -05:00
Sudo-Ivan
ae40d2879c
update and format
2025-01-01 00:58:37 -06:00
Sudo-Ivan
54c401e2a5
buffer, channel, more transport constants
2024-12-31 17:02:51 -06:00