|
53 | 53 | posix.rs # L1: UDS, SHM |
54 | 54 | windows.rs # L1: Named Pipe, SHM |
55 | 55 | service/ # L2/L3: typed client/server helpers |
| 56 | + raw.rs # Internal raw helper wrapper/re-exports |
| 57 | + raw/ # Shared raw infrastructure plus per-method helpers |
| 58 | + client.rs # Shared raw client lifecycle, retry, send/receive |
| 59 | + server.rs # Shared managed-server lifecycle |
| 60 | + cgroups_snapshot.rs # cgroups-snapshot raw call/dispatch |
| 61 | + cgroups_lookup.rs # cgroups-lookup raw call/dispatch |
| 62 | + apps_lookup.rs # apps-lookup raw call/dispatch |
| 63 | + cgroups_cache.rs # cgroups-snapshot Level 3 cache |
56 | 64 |
|
57 | 65 | go/pkg/netipc/ # Go library (Go package) |
58 | 66 | protocol/ # Codec |
@@ -155,6 +163,13 @@ Each service module should correspond to one service kind. The public |
155 | 163 | L2/L3 shape must not drift into “one server exports many unrelated |
156 | 164 | request kinds”. |
157 | 165 |
|
| 166 | +Internal raw helpers may share connection lifecycle, retry policy, |
| 167 | +transport send/receive, managed server accept/session loops, and |
| 168 | +generic envelope validation. Custom typed client calls, typed handler |
| 169 | +aliases, dispatch adapters, and Level 3 cache logic for one service |
| 170 | +kind must live in service-kind-specific files so adding new service |
| 171 | +kinds does not expand a shared catch-all module. |
| 172 | + |
158 | 173 | Service modules must NOT contain: |
159 | 174 |
|
160 | 175 | - Transport implementation details (no direct socket/pipe/SHM code) |
|
0 commit comments