package sihl-storage

  1. Overview
  2. Docs
Storage service implementations for Sihl

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.5.0.tar.gz
md5=efe50e8f7c33f76810c6312f13a54a2a
sha512=6f3a6a6abbcce2d3569e83cfd564ed9a964efa7665956cb355b3ff85d0ce6eb80eba8ae9876d71c5e2f0ce070933e7233117c356601387dbaeccd5778a5cb289

doc/sihl-storage/Sihl_storage/MariaDb/index.html

Module Sihl_storage.MariaDbSource

Sourceval find_opt : id:string -> Sihl__.Contract_storage.stored option Lwt.t

Get the meta data of a complete file.

This will not download the content, use get_data_base64 for that.

Sourceval find : id:string -> Sihl__.Contract_storage.stored Lwt.t
Sourceval delete : id:string -> unit Lwt.t
Sourceval upload_base64 : Sihl__.Contract_storage.file -> base64:string -> Sihl__.Contract_storage.stored Lwt.t

Upload base64 string as data content for file.

Sourceval update_base64 : Sihl__.Contract_storage.stored -> base64:string -> Sihl__.Contract_storage.stored Lwt.t

Upload and overwrite base64 strong content of file.

Sourceval download_data_base64_opt : Sihl__.Contract_storage.stored -> string option Lwt.t

Download actual file content for file.

Sourceval download_data_base64 : Sihl__.Contract_storage.stored -> string Lwt.t
Sourceval register : unit -> Sihl__.Core_container.Service.t
Sourceval lifecycle : Sihl__.Core_container.lifecycle