(over: Partial<WireEntryPoints> = {})
| 104 | } |
| 105 | |
| 106 | function payload(over: Partial<WireEntryPoints> = {}): WireEntryPoints { |
| 107 | return { |
| 108 | frameworks: ['go'], |
| 109 | routes: { |
| 110 | routed: true, |
| 111 | routeCount: 4, |
| 112 | items: { total: 2, shown: 2, truncated: false, items: [route(), route({ |
| 113 | url: 'GET /healthz', |
| 114 | method: 'GET', |
| 115 | path: '/healthz', |
| 116 | handler: 'health', |
| 117 | handlerKind: 'function', |
| 118 | file: 'internal/transport/httpapi/router.go', |
| 119 | line: 16, |
| 120 | handlerId: 'function:health', |
| 121 | routeLine: 12, |
| 122 | routeId: 'route:router.go:12:GET:/healthz', |
| 123 | })] }, |
| 124 | }, |
| 125 | files: { total: 92, shown: 1, truncated: true, items: [file()] }, |
| 126 | tests: { total: 1, shown: 1, truncated: false, items: [test()] }, |
| 127 | hubs: { total: 351, shown: 1, truncated: true, items: [hub()] }, |
| 128 | index: { lastIndexedAt: 1, files: 20 }, |
| 129 | timing: { elapsedMs: 3, cached: false }, |
| 130 | ...over, |
| 131 | } as WireEntryPoints; |
| 132 | } |
| 133 | |
| 134 | /* ---------------------------------------------------------------- panel -- */ |
| 135 |
no test coverage detected