MCPcopy Create free account
hub / github.com/astercloud/aster / Router

Method Router

server/server.go:341–343  ·  view source on GitHub ↗

Router returns the underlying Gin router for advanced customization

()

Source from the content-addressed store, hash-verified

339
340// Router returns the underlying Gin router for advanced customization
341func (s *Server) Router() *gin.Engine {
342 return s.router
343}
344
345// healthCheck handles health check requests
346func (s *Server) healthCheck(c *gin.Context) {

Callers 15

TestToolHandlersFunction · 0.45
TestMiddlewareHandlersFunction · 0.45
TestTelemetryHandlersFunction · 0.45
TestSystemHandlersFunction · 0.45
TestMCPHandlersFunction · 0.45
TestEvalHandlersFunction · 0.45
TestValidationErrorsFunction · 0.45
TestQueryParametersFunction · 0.45
TestResponseFormatFunction · 0.45
TestServerHealthFunction · 0.45
TestServerMetricsFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestToolHandlersFunction · 0.36
TestMiddlewareHandlersFunction · 0.36
TestTelemetryHandlersFunction · 0.36
TestSystemHandlersFunction · 0.36
TestMCPHandlersFunction · 0.36
TestEvalHandlersFunction · 0.36
TestValidationErrorsFunction · 0.36
TestQueryParametersFunction · 0.36
TestResponseFormatFunction · 0.36
TestServerHealthFunction · 0.36
TestServerMetricsFunction · 0.36