fix: always use probe-cli version (and make it alpha) (#219)
See https://github.com/ooni/probe-engine/issues/1181 While there, run `go fmt ./...`
This commit is contained in:
parent
6062b652f6
commit
26d807c50f
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/apex/log"
|
"github.com/apex/log"
|
||||||
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/cli/root"
|
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/cli/root"
|
||||||
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/version"
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Run the app. This is the main app entry point
|
// Run the app. This is the main app entry point
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/log/handlers/syslog"
|
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/log/handlers/syslog"
|
||||||
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/ooni"
|
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/ooni"
|
||||||
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/utils"
|
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/utils"
|
||||||
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/version"
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Cmd is the root command
|
// Cmd is the root command
|
||||||
|
|
|
@ -5,7 +5,7 @@ import (
|
||||||
|
|
||||||
"github.com/alecthomas/kingpin"
|
"github.com/alecthomas/kingpin"
|
||||||
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/cli/root"
|
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/cli/root"
|
||||||
"github.com/ooni/probe-cli/v3/cmd/ooniprobe/internal/version"
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -21,7 +21,7 @@ import (
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/kvstore"
|
"github.com/ooni/probe-cli/v3/internal/engine/kvstore"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/version"
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
func newclient() probeservices.Client {
|
func newclient() probeservices.Client {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import (
|
||||||
|
|
||||||
"github.com/apex/log"
|
"github.com/apex/log"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/experiment/urlgetter"
|
"github.com/ooni/probe-cli/v3/internal/engine/experiment/urlgetter"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Client is DNS, HTTP, and TCP client.
|
// Client is DNS, HTTP, and TCP client.
|
||||||
|
|
|
@ -14,9 +14,9 @@ import (
|
||||||
"github.com/apex/log"
|
"github.com/apex/log"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/experiment/webconnectivity"
|
"github.com/ooni/probe-cli/v3/internal/engine/experiment/webconnectivity"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/httpheader"
|
"github.com/ooni/probe-cli/v3/internal/engine/httpheader"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/version"
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
type (
|
type (
|
||||||
|
|
|
@ -11,8 +11,8 @@ import (
|
||||||
|
|
||||||
"github.com/apex/log"
|
"github.com/apex/log"
|
||||||
"github.com/ooni/probe-cli/v3/internal/cmd/oohelper/internal"
|
"github.com/ooni/probe-cli/v3/internal/cmd/oohelper/internal"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/version"
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Handler implements the Web Connectivity test helper HTTP API.
|
// Handler implements the Web Connectivity test helper HTTP API.
|
||||||
|
|
|
@ -18,7 +18,7 @@ import (
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/httptransport"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/httptransport"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/resources"
|
"github.com/ooni/probe-cli/v3/internal/engine/resources"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/version"
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
const dateFormat = "2006-01-02 15:04:05"
|
const dateFormat = "2006-01-02 15:04:05"
|
||||||
|
|
|
@ -15,11 +15,11 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/experiment/urlgetter"
|
"github.com/ooni/probe-cli/v3/internal/engine/experiment/urlgetter"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/archival"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/archival"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/trace"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/trace"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type urlGetterMain struct {}
|
type urlGetterMain struct{}
|
||||||
|
|
||||||
func (m *urlGetterMain) do(ctx context.Context, input StructuredInput,
|
func (m *urlGetterMain) do(ctx context.Context, input StructuredInput,
|
||||||
sess model.ExperimentSession, measurement *model.Measurement,
|
sess model.ExperimentSession, measurement *model.Measurement,
|
||||||
|
|
|
@ -16,10 +16,10 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/experiment/tlstool/internal"
|
"github.com/ooni/probe-cli/v3/internal/engine/experiment/tlstool/internal"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/archival"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/archival"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -14,12 +14,12 @@ import (
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/httpheader"
|
"github.com/ooni/probe-cli/v3/internal/engine/httpheader"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/legacy/netxlogger"
|
"github.com/ooni/probe-cli/v3/internal/engine/legacy/netxlogger"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/legacy/oonidatamodel"
|
"github.com/ooni/probe-cli/v3/internal/engine/legacy/oonidatamodel"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/legacy/oonitemplates"
|
"github.com/ooni/probe-cli/v3/internal/engine/legacy/oonitemplates"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/errorx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/errorx"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -11,9 +11,9 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/httpheader"
|
"github.com/ooni/probe-cli/v3/internal/engine/httpheader"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/errorx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/errorx"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
const httpRequestFailed = "http_request_failed"
|
const httpRequestFailed = "http_request_failed"
|
||||||
|
|
|
@ -14,8 +14,8 @@ import (
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/experiment/urlgetter"
|
"github.com/ooni/probe-cli/v3/internal/engine/experiment/urlgetter"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/internal/httpfailure"
|
"github.com/ooni/probe-cli/v3/internal/engine/internal/httpfailure"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -7,9 +7,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/version"
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -6,14 +6,14 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/kvstore"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/internal/psiphonx"
|
"github.com/ooni/probe-cli/v3/internal/engine/internal/psiphonx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/internal/torx"
|
"github.com/ooni/probe-cli/v3/internal/engine/internal/torx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/internal/tunnel"
|
"github.com/ooni/probe-cli/v3/internal/engine/internal/tunnel"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/kvstore"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/probeservices/testorchestra"
|
"github.com/ooni/probe-cli/v3/internal/engine/probeservices/testorchestra"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Session allows to mock sessions.
|
// Session allows to mock sessions.
|
||||||
|
|
|
@ -6,11 +6,11 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ooni/psiphon/oopsi/github.com/Psiphon-Labs/psiphon-tunnel-core/ClientLibrary/clientlib"
|
|
||||||
"github.com/apex/log"
|
"github.com/apex/log"
|
||||||
engine "github.com/ooni/probe-cli/v3/internal/engine"
|
engine "github.com/ooni/probe-cli/v3/internal/engine"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/internal/mockable"
|
"github.com/ooni/probe-cli/v3/internal/engine/internal/mockable"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/internal/psiphonx"
|
"github.com/ooni/probe-cli/v3/internal/engine/internal/psiphonx"
|
||||||
|
"github.com/ooni/psiphon/oopsi/github.com/Psiphon-Labs/psiphon-tunnel-core/ClientLibrary/clientlib"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestStartWithCancelledContext(t *testing.T) {
|
func TestStartWithCancelledContext(t *testing.T) {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Resolver is the session resolver.
|
// Resolver is the session resolver.
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/legacy/netx/modelx"
|
"github.com/ooni/probe-cli/v3/internal/engine/legacy/netx/modelx"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
type stdoutHandler struct{}
|
type stdoutHandler struct{}
|
||||||
|
|
|
@ -21,10 +21,10 @@ import (
|
||||||
|
|
||||||
goptlib "git.torproject.org/pluggable-transports/goptlib.git"
|
goptlib "git.torproject.org/pluggable-transports/goptlib.git"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/legacy/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/legacy/netx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/legacy/netx/handlers"
|
"github.com/ooni/probe-cli/v3/internal/engine/legacy/netx/handlers"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/legacy/netx/modelx"
|
"github.com/ooni/probe-cli/v3/internal/engine/legacy/netx/modelx"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
"gitlab.com/yawning/obfs4.git/transports"
|
"gitlab.com/yawning/obfs4.git/transports"
|
||||||
obfs4base "gitlab.com/yawning/obfs4.git/transports/base"
|
obfs4base "gitlab.com/yawning/obfs4.git/transports/base"
|
||||||
)
|
)
|
||||||
|
|
|
@ -31,7 +31,6 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
|
|
||||||
"github.com/lucas-clemente/quic-go"
|
"github.com/lucas-clemente/quic-go"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/bytecounter"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/bytecounter"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/dialer"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/dialer"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/gocertifi"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/gocertifi"
|
||||||
|
@ -40,6 +39,7 @@ import (
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/resolver"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/resolver"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/selfcensor"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/selfcensor"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/trace"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/trace"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Logger is the logger assumed by this package
|
// Logger is the logger assumed by this package
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"net"
|
"net"
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/errorx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/errorx"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
var privateIPBlocks []*net.IPNet
|
var privateIPBlocks []*net.IPNet
|
||||||
|
|
|
@ -13,16 +13,16 @@ import (
|
||||||
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/geolocate"
|
"github.com/ooni/probe-cli/v3/internal/engine/geolocate"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/kvstore"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/internal/platform"
|
"github.com/ooni/probe-cli/v3/internal/engine/internal/platform"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/internal/sessionresolver"
|
"github.com/ooni/probe-cli/v3/internal/engine/internal/sessionresolver"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/internal/tunnel"
|
"github.com/ooni/probe-cli/v3/internal/engine/internal/tunnel"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/kvstore"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/bytecounter"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/bytecounter"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/resources"
|
"github.com/ooni/probe-cli/v3/internal/engine/resources"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/version"
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SessionConfig contains the Session config
|
// SessionConfig contains the Session config
|
||||||
|
|
|
@ -18,7 +18,7 @@ import (
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/version"
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestNewSessionBuilderChecks(t *testing.T) {
|
func TestNewSessionBuilderChecks(t *testing.T) {
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Package version contains the probe-engine version.
|
|
||||||
package version
|
|
||||||
|
|
||||||
// Version is the version of the engine
|
|
||||||
const Version = "0.23.0"
|
|
|
@ -32,7 +32,7 @@ import (
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/humanizex"
|
"github.com/ooni/probe-cli/v3/internal/engine/humanizex"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/netx/selfcensor"
|
"github.com/ooni/probe-cli/v3/internal/engine/netx/selfcensor"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/version"
|
"github.com/ooni/probe-cli/v3/internal/version"
|
||||||
"github.com/pborman/getopt/v2"
|
"github.com/pborman/getopt/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,5 +3,5 @@ package version
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// Version is the software version
|
// Version is the software version
|
||||||
Version = "3.5.1"
|
Version = "3.6.0-alpha"
|
||||||
)
|
)
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
engine "github.com/ooni/probe-cli/v3/internal/engine"
|
engine "github.com/ooni/probe-cli/v3/internal/engine"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -10,9 +10,9 @@ import (
|
||||||
|
|
||||||
engine "github.com/ooni/probe-cli/v3/internal/engine"
|
engine "github.com/ooni/probe-cli/v3/internal/engine"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
"github.com/ooni/probe-cli/v3/internal/engine/atomicx"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
"github.com/ooni/probe-cli/v3/internal/engine/model"
|
||||||
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
"github.com/ooni/probe-cli/v3/internal/engine/probeservices"
|
||||||
|
"github.com/ooni/probe-cli/v3/internal/engine/runtimex"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AtomicInt64 allows us to export atomicx.Int64 variables to
|
// AtomicInt64 allows us to export atomicx.Int64 variables to
|
||||||
|
|
Loading…
Reference in New Issue
Block a user