package caqti
- Overview
- No Docs
You can search for identifiers within the package.
in-package search v0.2.0
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=483a535f41e2641917fc1832ce4ad15ffc3f4e8283b1b3018a2617349583090a
sha512=6a1222c0c55cb16a9d409980f9f2400340689b87e21aafed2d7459fd7feaeb109c2dfaf77f55f8422fbb7d3772342565ced7fed78a7b77af5aedab5bfd5ae882
doc/caqti.platform/Caqti_platform/Driver_loader/index.html
Module Caqti_platform.Driver_loaderSource
Registration and Loading of Drivers
This interface is unstable and may change between minor versions. If you are developing an external driver, please open an issue to sort out requirements and to announce you need for a stable driver API.
This is the signature implemented by drivers, given the system dependencies. More precisely, drivers implement either DRIVER_FUNCTOR or Caqti_platform_unix.Driver_loader.DRIVER_FUNCTOR depending on requirements.
Registration
module type DRIVER_FUNCTOR =
functor (System : System_sig.S) ->
DRIVER
with type 'a fiber := 'a System.Fiber.t
and type ('a, 'err) stream := ('a, 'err) System.Stream.t
and type switch := System.Switch.t
and type stdenv := System.stdenvThe functor implemented by drivers independent from the unix library.
register scheme driver_functor registers driver_functor as the driver implementation for handling the URI scheme scheme.
Usage
module Make
(System : System_sig.S) :
S
with type 'a fiber := 'a System.Fiber.t
and type ('a, 'e) stream := ('a, 'e) System.Stream.t
and type switch := System.Switch.t
and type stdenv := System.stdenvInstantiation of the loader interface for give system dependencies.