package ocaml-protoc-plugin

  1. Overview
  2. Docs
val double : float spec
val float : float spec
val int32 : Int32.t spec
val int64 : Int64.t spec
val uint32 : Int32.t spec
val uint64 : Int64.t spec
val sint32 : Int32.t spec
val sint64 : Int64.t spec
val fixed32 : Int32.t spec
val fixed64 : Int64.t spec
val sfixed32 : Int32.t spec
val sfixed64 : Int64.t spec
val int32_int : int spec
val int64_int : int spec
val uint32_int : int spec
val uint64_int : int spec
val sint32_int : int spec
val sint64_int : int spec
val fixed32_int : int spec
val fixed64_int : int spec
val sfixed32_int : int spec
val sfixed64_int : int spec
val bool : bool spec
val string : string spec
val bytes : bytes spec
val enum : (int -> 'a Result.t) -> 'a spec
val message : (Reader.t -> 'a Result.t) -> 'a spec
val some : 'a -> 'a option
val none : 'a option
val proto2 : 'a option -> 'a proto_type
val proto2_bytes : string -> bytes proto_type
val proto3 : 'a proto_type
val required : 'a proto_type
val repeated : (int * 'a spec * packed) -> 'a list compound
val basic : (int * 'a spec * 'a proto_type) -> 'a compound
val basic_opt : (int * 'a spec) -> 'a option compound
val oneof : 'a oneof list -> 'a compound
val oneof_elem : (int * 'a spec * ('a -> 'b)) -> 'b oneof
val packed : packed
val not_packed : packed
val (^::) : 'a compound -> ('b, 'c) compound_list -> ('a -> 'b, 'c) compound_list
val nil : ('a, 'a) compound_list
OCaml

Innovation. Community. Security.