ocaml-protoc-plugin

Plugin for protoc protobuf compiler to generate ocaml definitions from a .proto file
IN THIS PACKAGE
val name' : unit -> string
type t = {
name : string option;
method' : MethodDescriptorProto.t list;
options : ServiceOptions.t option;
}
val make : ?name:string -> ?method':MethodDescriptorProto.t list -> ?options:ServiceOptions.t -> unit -> t
val to_proto : t -> Ocaml_protoc_plugin.Runtime.Runtime'.Writer.t
val from_proto : Ocaml_protoc_plugin.Runtime.Runtime'.Reader.t -> ( t, [> Ocaml_protoc_plugin.Runtime.Runtime'.Result.error ] ) result