Crate discovery_connect

Crate discovery_connect 

Source

Modules§

auth
file
query
upload

Macros§

disco_api
Macro to define types for the Disco GraphQL schema.

Structs§

QueryClient
Encapsulates a client for performing authenticated queries to a service.
QueryConfig
Represents the authentication configuration for a service.

Functions§

post_query
This unit is responsible for sending asynchronous GraphQL queries to the Discovery server.
upload_acquisition
Creates a zip file containing a list of files and uploads it as a single acquisition.
upload_file
Uploads a file to a specified Discovery account.
with_fresh_token
Executes a provided asynchronous function, handling token authentication.