ooni-probe-cli/internal/engine/probeservices/bouncer.go

15 lines
339 B
Go
Raw Normal View History

package probeservices
import (
"context"
"github.com/ooni/probe-cli/v3/internal/model"
)
// GetTestHelpers is like GetCollectors but for test helpers.
func (c Client) GetTestHelpers(
ctx context.Context) (output map[string][]model.OOAPIService, err error) {
err = c.APIClient.GetJSON(ctx, "/api/v1/test-helpers", &output)
return
}