package ocaml-protoc-plugin

  1. Overview
  2. Docs
module type Message = sig ... end
module type Rpc = sig ... end
val make_client_functions : ((module Message with type t = 'req) * (module Message with type t = 'rep)) -> ('req0 -> Writer.t) * (Reader.t -> 'rep0 Result.t)
val make_service_functions : ((module Message with type t = 'req) * (module Message with type t = 'rep)) -> (Reader.t -> 'req0 Result.t) * ('rep0 -> Writer.t)