Skip to main content

Module common

Module common 

Source
Expand description

Shared types used by both the client and the server.

Structs§

StorageServiceStoreInternalConfig
The configuration for connecting to a storage service.

Enums§

KeyPrefix
Key tags to create the sub keys used for storing data on storage.
StorageServiceStoreError
The errors returned by the storage service store.

Constants§

MAX_PAYLOAD_SIZE
The maximum size of a gRPC payload, in bytes.

Functions§

get_service_storage_binary
Obtains the binary of the executable. The path depends whether the test are run in the directory “linera-storage-service” or in the main directory
storage_service_test_endpoint
Returns the storage service endpoint used for testing, read from the environment.

Type Aliases§

StorageServiceStoreConfig
The config type