- ctxKey/deviceKey *string holder pattern; AccessLogMiddleware allocates holder, injects into ctx, logs devID (or "-" for anon) as final field - auth now sets the holder after resolving deviceID — comment updated to match reality - TestAccessLogDeviceID: healthz logs "-", authed /v1/head logs the real device id; captures global log.Writer() |
||
|---|---|---|
| .. | ||
| chunk | ||
| config | ||
| control | ||
| daemon | ||
| hooks | ||
| hub | ||
| identity | ||
| ignore | ||
| manifest | ||
| secret | ||
| syncer | ||
| transport | ||
| watch | ||