2ca9496c04
* chore: update the user-agent we use Part of the check-list at https://github.com/ooni/probe/issues/1369. * chore: set version to 3.9.0 See https://github.com/ooni/probe/issues/1369 * chore: run go generate ./... This is meant to update the bundled CA. We have heard of issues with our bundled CA, but it seems there have been no changes upstream. The website https://curl.se/docs/caextract.html still lists as the last change the one done on Jan 19, 2021, which is the version of the CA that we're currently bundling. For the sake of continuing with the release process, I am going to further investigate the CA once the release is done. This chore is part of https://github.com/ooni/probe/issues/1369.
79 lines
2.8 KiB
Go
79 lines
2.8 KiB
Go
// Code generated by go generate; DO NOT EDIT.
|
|
// 2021-03-31 16:50:04.79291318 +0200 CEST m=+0.000077728
|
|
|
|
package ooapi
|
|
|
|
//go:generate go run ./internal/generator -file callers.go
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/ooni/probe-cli/v3/internal/engine/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)
|
|
}
|