d44970a43f
* chore: update all workflows to use go1.17.2 See https://github.com/ooni/probe/issues/1815 * chore: update all dependencies See https://github.com/ooni/probe/issues/1815 * chore: run `go generate` See https://github.com/ooni/probe/issues/1815 * chore: update the user-agent Part of https://github.com/ooni/probe/issues/1815 * Set version to 3.12.0-alpha Part of https://github.com/ooni/probe/issues/1815 * fix: update to ooni/probe-assets@v0.5.0 This overcomes https://github.com/ooni/probe/issues/1836 in the CLI and, while there, let us also make maxminddb tests stricter. * fix(QA/Dockerfile): build using go1.17 See https://github.com/ooni/probe-cli/pull/547#issuecomment-947760839 * chore(mk): use go1.17.2 Part of https://github.com/ooni/probe/issues/1815 * fix(codeql): always run for master Otherwise we see a warning that there is no CodeQL information available for the base branch and this is sub-optimal. Part of https://github.com/ooni/probe/issues/1815
79 lines
2.8 KiB
Go
79 lines
2.8 KiB
Go
// Code generated by go generate; DO NOT EDIT.
|
|
// 2021-10-20 14:12:56.962776 +0200 CEST m=+0.000233959
|
|
|
|
package ooapi
|
|
|
|
//go:generate go run ./internal/generator -file callers.go
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/ooni/probe-cli/v3/internal/ooapi/apimodel"
|
|
)
|
|
|
|
// callerForCheckReportIDAPI represents any type exposing a method
|
|
// like simpleCheckReportIDAPI.Call.
|
|
type callerForCheckReportIDAPI interface {
|
|
Call(ctx context.Context, req *apimodel.CheckReportIDRequest) (*apimodel.CheckReportIDResponse, error)
|
|
}
|
|
|
|
// callerForCheckInAPI represents any type exposing a method
|
|
// like simpleCheckInAPI.Call.
|
|
type callerForCheckInAPI interface {
|
|
Call(ctx context.Context, req *apimodel.CheckInRequest) (*apimodel.CheckInResponse, error)
|
|
}
|
|
|
|
// callerForLoginAPI represents any type exposing a method
|
|
// like simpleLoginAPI.Call.
|
|
type callerForLoginAPI interface {
|
|
Call(ctx context.Context, req *apimodel.LoginRequest) (*apimodel.LoginResponse, error)
|
|
}
|
|
|
|
// callerForMeasurementMetaAPI represents any type exposing a method
|
|
// like simpleMeasurementMetaAPI.Call.
|
|
type callerForMeasurementMetaAPI interface {
|
|
Call(ctx context.Context, req *apimodel.MeasurementMetaRequest) (*apimodel.MeasurementMetaResponse, error)
|
|
}
|
|
|
|
// callerForRegisterAPI represents any type exposing a method
|
|
// like simpleRegisterAPI.Call.
|
|
type callerForRegisterAPI interface {
|
|
Call(ctx context.Context, req *apimodel.RegisterRequest) (*apimodel.RegisterResponse, error)
|
|
}
|
|
|
|
// callerForTestHelpersAPI represents any type exposing a method
|
|
// like simpleTestHelpersAPI.Call.
|
|
type callerForTestHelpersAPI interface {
|
|
Call(ctx context.Context, req *apimodel.TestHelpersRequest) (apimodel.TestHelpersResponse, error)
|
|
}
|
|
|
|
// callerForPsiphonConfigAPI represents any type exposing a method
|
|
// like simplePsiphonConfigAPI.Call.
|
|
type callerForPsiphonConfigAPI interface {
|
|
Call(ctx context.Context, req *apimodel.PsiphonConfigRequest) (apimodel.PsiphonConfigResponse, error)
|
|
}
|
|
|
|
// callerForTorTargetsAPI represents any type exposing a method
|
|
// like simpleTorTargetsAPI.Call.
|
|
type callerForTorTargetsAPI interface {
|
|
Call(ctx context.Context, req *apimodel.TorTargetsRequest) (apimodel.TorTargetsResponse, error)
|
|
}
|
|
|
|
// callerForURLsAPI represents any type exposing a method
|
|
// like simpleURLsAPI.Call.
|
|
type callerForURLsAPI interface {
|
|
Call(ctx context.Context, req *apimodel.URLsRequest) (*apimodel.URLsResponse, error)
|
|
}
|
|
|
|
// callerForOpenReportAPI represents any type exposing a method
|
|
// like simpleOpenReportAPI.Call.
|
|
type callerForOpenReportAPI interface {
|
|
Call(ctx context.Context, req *apimodel.OpenReportRequest) (*apimodel.OpenReportResponse, error)
|
|
}
|
|
|
|
// callerForSubmitMeasurementAPI represents any type exposing a method
|
|
// like simpleSubmitMeasurementAPI.Call.
|
|
type callerForSubmitMeasurementAPI interface {
|
|
Call(ctx context.Context, req *apimodel.SubmitMeasurementRequest) (*apimodel.SubmitMeasurementResponse, error)
|
|
}
|