1// Code generated by go generate; DO NOT EDIT.
2// 2021-05-12 09:15:03.02266641 +0200 CEST m=+0.000097757
3
4package ooapi
5
6//go:generate go run ./internal/generator -file callers.go
7
8import (
9	"context"
10
11	"github.com/ooni/probe-cli/v3/internal/engine/ooapi/apimodel"
12)
13
14// callerForCheckReportIDAPI represents any type exposing a method
15// like simpleCheckReportIDAPI.Call.
16type callerForCheckReportIDAPI interface {
17	Call(ctx context.Context, req *apimodel.CheckReportIDRequest) (*apimodel.CheckReportIDResponse, error)
18}
19
20// callerForCheckInAPI represents any type exposing a method
21// like simpleCheckInAPI.Call.
22type callerForCheckInAPI interface {
23	Call(ctx context.Context, req *apimodel.CheckInRequest) (*apimodel.CheckInResponse, error)
24}
25
26// callerForLoginAPI represents any type exposing a method
27// like simpleLoginAPI.Call.
28type callerForLoginAPI interface {
29	Call(ctx context.Context, req *apimodel.LoginRequest) (*apimodel.LoginResponse, error)
30}
31
32// callerForMeasurementMetaAPI represents any type exposing a method
33// like simpleMeasurementMetaAPI.Call.
34type callerForMeasurementMetaAPI interface {
35	Call(ctx context.Context, req *apimodel.MeasurementMetaRequest) (*apimodel.MeasurementMetaResponse, error)
36}
37
38// callerForRegisterAPI represents any type exposing a method
39// like simpleRegisterAPI.Call.
40type callerForRegisterAPI interface {
41	Call(ctx context.Context, req *apimodel.RegisterRequest) (*apimodel.RegisterResponse, error)
42}
43
44// callerForTestHelpersAPI represents any type exposing a method
45// like simpleTestHelpersAPI.Call.
46type callerForTestHelpersAPI interface {
47	Call(ctx context.Context, req *apimodel.TestHelpersRequest) (apimodel.TestHelpersResponse, error)
48}
49
50// callerForPsiphonConfigAPI represents any type exposing a method
51// like simplePsiphonConfigAPI.Call.
52type callerForPsiphonConfigAPI interface {
53	Call(ctx context.Context, req *apimodel.PsiphonConfigRequest) (apimodel.PsiphonConfigResponse, error)
54}
55
56// callerForTorTargetsAPI represents any type exposing a method
57// like simpleTorTargetsAPI.Call.
58type callerForTorTargetsAPI interface {
59	Call(ctx context.Context, req *apimodel.TorTargetsRequest) (apimodel.TorTargetsResponse, error)
60}
61
62// callerForURLsAPI represents any type exposing a method
63// like simpleURLsAPI.Call.
64type callerForURLsAPI interface {
65	Call(ctx context.Context, req *apimodel.URLsRequest) (*apimodel.URLsResponse, error)
66}
67
68// callerForOpenReportAPI represents any type exposing a method
69// like simpleOpenReportAPI.Call.
70type callerForOpenReportAPI interface {
71	Call(ctx context.Context, req *apimodel.OpenReportRequest) (*apimodel.OpenReportResponse, error)
72}
73
74// callerForSubmitMeasurementAPI represents any type exposing a method
75// like simpleSubmitMeasurementAPI.Call.
76type callerForSubmitMeasurementAPI interface {
77	Call(ctx context.Context, req *apimodel.SubmitMeasurementRequest) (*apimodel.SubmitMeasurementResponse, error)
78}
79