You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`socket_option_linux.go`: Linux-specific socket optimizations using build tags
49
+
-`printer.go`: Utility functions for formatting and printing output/metrics
46
50
-`version.go`: Version information
47
51
48
52
## Key Design Patterns
@@ -64,11 +68,11 @@ The project follows a simple flat structure with all Go files in the top-level d
64
68
65
69
## Testing
66
70
67
-
The project includes test files (connect_test.go, serve_test.go, e2e_test.go). When adding new functionality, follow the existing test patterns and ensure all edge cases are covered, especially around connection handling and error scenarios.
71
+
The project includes test files (client_test.go, server_test.go, main_test.go, e2e_test.go, printer_test.go, jsonlines_test.go). When adding new functionality, follow the existing test patterns and ensure all edge cases are covered, especially around connection handling and error scenarios.
68
72
69
73
## Development Notes
70
74
71
-
- File descriptor limits are automatically raised via utils.go
75
+
- File descriptor limits are automatically raised via printer.go
72
76
- Server gracefully handles signals (SIGINT, SIGTERM) for clean shutdown
73
77
- Error handling includes specific logic for network timeouts and connection resets
74
78
- Build uses Go modules with go 1.24 (toolchain go1.24)
0 commit comments