package irmin-http

  1. Overview
  2. Docs

JSON REST/CRUD interface.

val config : Uri.t -> Irmin.config -> Irmin.config
module Conf : sig ... end
module type HTTP_CLIENT = sig ... end
module Client (C : HTTP_CLIENT) (S : Irmin.S) : Irmin.S with type hash = S.hash and module Schema = S.Schema and type Backend.Remote.endpoint = unit

HTTP server

module type SERVER = sig ... end
module Server (HTTP : Cohttp_lwt.S.Server) (S : Irmin.S) : SERVER with type repo = S.Repo.t and type t = HTTP.t

Create an HTTP server, serving the contents of an Irmin database.

OCaml

Innovation. Community. Security.