(ctx context.Context, wshRpc *WshRpc)
| 67 | type wshRpcRespHandlerContextKey struct{} |
| 68 | |
| 69 | func withWshRpcContext(ctx context.Context, wshRpc *WshRpc) context.Context { |
| 70 | return context.WithValue(ctx, wshRpcContextKey{}, wshRpc) |
| 71 | } |
| 72 | |
| 73 | func withRespHandler(ctx context.Context, handler *RpcResponseHandler) context.Context { |
| 74 | return context.WithValue(ctx, wshRpcRespHandlerContextKey{}, handler) |
no outgoing calls
no test coverage detected