Implement the circumvention nettest group

Only Psiphon for now. Closes #87 #77.
This commit is contained in:
Simone Basso
2019-12-28 17:48:07 +01:00
parent 5e868fe043
commit 259ab41b15
9 changed files with 70 additions and 74 deletions
+6
View File
@@ -30,6 +30,12 @@ func AssetsDir(home string) string {
return filepath.Join(home, "assets")
}
// EngineDir returns the directory where ooni/probe-engine should
// store its private data given a specific OONI Home.
func EngineDir(home string) string {
return filepath.Join(home, "engine")
}
// DBDir returns the database dir for the given name
func DBDir(home string, name string) string {
return filepath.Join(home, "db", fmt.Sprintf("%s.sqlite3", name))