Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDebugRouter ¶
func NewDebugRouter(config *Config)
NewDebugRouter configures debug endpoints for memory monitoring and diagnostics. These endpoints are useful for monitoring server health and debugging memory leaks.
Endpoints:
- GET /debug/memory - Get detailed memory statistics
- POST /debug/gc - Force garbage collection
- GET /debug/goroutines - Get full goroutine stack traces
- GET /debug/goroutines/stats - Get goroutine count summary
func NewGitRouter ¶
func NewGitRouter(c *Config)
func NewRepoRouter ¶
func NewRepoRouter(c *Config)
Types ¶
Click to show internal directories.
Click to hide internal directories.