(fetchSpanSetsFn func(ctx context.Context, req FetchSpansRequest) (FetchSpansResponse, error))
| 334 | var _ SpansetFetcher = (*SpansetFetcherWrapper)(nil) |
| 335 | |
| 336 | func NewSpansetFetcherWrapper(fetchSpanSetsFn func(ctx context.Context, req FetchSpansRequest) (FetchSpansResponse, error)) SpansetFetcher { |
| 337 | return SpansetFetcherWrapper{fetchSpanSetsFn, nil} |
| 338 | } |
| 339 | |
| 340 | func NewSpansetFetcherWrapperBoth( |
| 341 | fetchSpanSetsFn func(ctx context.Context, req FetchSpansRequest) (FetchSpansResponse, error), |
no outgoing calls