package ocaml-protoc-plugin
Plugin for protoc protobuf compiler to generate ocaml definitions from a .proto file
Install
Dune Dependency
Authors
Maintainers
Sources
1.0.0.tar.gz
md5=278461dfca05f428e54abddfdf229471
sha512=b54528f0079c3d38d746ba97e48530bc87edfa684bc814623c450ee65502c6d16b9ae304c6ea6e19ff0ca84c454601a367abd35b295abf5b727bc702ff792716
doc/src/ocaml-protoc-plugin.protobuf/service.ml.html
Source file service.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
module type Message = sig type t val from_proto: Reader.t -> t Result.t val to_proto: t -> Writer.t end let make_client_functions (type req) (type rep) ((module Request : Message with type t = req), (module Reply : Message with type t = rep)) = Request.to_proto, Reply.from_proto let make_service_functions (type req) (type rep) ((module Request : Message with type t = req), (module Reply : Message with type t = rep)) = Request.from_proto, Reply.to_proto
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>