ooni-probe-cli/internal/engine/ooapi
Simone Basso 28ce79eff1
feat(ooapi): add toplevel client and simplify API (#248)
* feat(ooapi): add toplevel client and simplify API

This diff should simplify using ooapi from other packages by
adding more abstraction that wraps the existing code.

Part of https://github.com/ooni/probe/issues/1355.

* fix(ooapi): use correct comment for cloners

See https://github.com/ooni/probe-cli/pull/248#discussion_r590663843

* fix(ooapi): make sure the documentation is current

See https://github.com/ooni/probe-cli/pull/248#discussion_r590665773

* fix(ooapi): automate copying APIs

See https://github.com/ooni/probe-cli/pull/248#discussion_r590665837

* feat(ooapi): add unit tests for clientcall.go

See https://github.com/ooni/probe-cli/pull/248#discussion_r590666297

* fix(ooapi): rewrite integration tests to use toplevel API

See https://github.com/ooni/probe-cli/pull/248#discussion_r590665084
2021-03-19 09:30:42 +01:00
..
apimodel engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00
internal feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
apis_test.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
apis.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
caching_test.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
caching.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
callers.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
client.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
clientcall_test.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
clientcall.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
cloners.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
default_test.go engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00
default.go engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00
dependencies.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
doc.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
errors.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
fake_test.go engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00
fakeapi_test.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
fakefill_test.go engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00
httpclient_test.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
integration_test.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
kvstore_test.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
login_test.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
login.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
loginhandler_test.go engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00
loginmodel.go engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00
README.md engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00
requests.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
responses.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
swagger_test.go feat(ooapi): add toplevel client and simplify API (#248) 2021-03-19 09:30:42 +01:00
swaggerdiff_test.go engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00
utils_test.go engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00
utils.go engine/ooapi: autogenerated API with login and caching (#234) 2021-03-04 11:51:07 +01:00

Package ./internal/engine/ooapi

Automatically generated API clients for speaking with OONI servers.

Please, run go doc ./internal/engine/ooapi to see API documentation.