| 145 | } |
| 146 | |
| 147 | type server struct { |
| 148 | execMut *sync.Mutex |
| 149 | binaryPath string |
| 150 | cachePath string |
| 151 | cliConfigPath string |
| 152 | logger slog.Logger |
| 153 | tracer trace.Tracer |
| 154 | exitTimeout time.Duration |
| 155 | } |
| 156 | |
| 157 | func (s *server) startTrace(ctx context.Context, name string, opts ...trace.SpanStartOption) (context.Context, trace.Span) { |
| 158 | return s.tracer.Start(ctx, name, append(opts, trace.WithAttributes( |
nothing calls this directly
no outgoing calls
no test coverage detected