moonbitstack/moonrpc/proto does not have a README file
pub(all) struct FieldDescriptor {
name : String
number : Int
label : FieldLabel
type_ : FieldType
type_name : String
} derive(Eq)fn FieldDescriptor::scalar(name : String, number : Int, type_ : FieldType, label? : FieldLabel) -> FieldDescriptorpub(all) enum FieldType {
TypeDouble
TypeFloat
TypeInt64
TypeUint64
TypeInt32
TypeFixed64
TypeFixed32
TypeBool
TypeString
TypeMessage
TypeBytes
TypeUint32
TypeEnum
TypeSfixed32
TypeSfixed64
TypeSint32
TypeSint64
} derive(Eq)pub(all) struct FileDescriptor {
name : String
package_ : String
messages : Array[MessageDescriptor]
services : Array[ServiceDescriptor]
syntax : String
} derive(Eq)fn FileDescriptor::new(name : String, package_ : String, messages? : Array[MessageDescriptor], services? : Array[ServiceDescriptor]) -> FileDescriptorpub(all) struct MethodDescriptor {
name : String
input_type : String
output_type : String
client_streaming : Bool
server_streaming : Bool
} derive(Eq)pub struct PbReader {
data : Bytes
pos : Int
}Install
Download zipReal gRPC for MoonBit over HTTP/2: all four call kinds, metadata, deadlines, rich errors, health checking, server reflection, retries, hedging and load balancing, with pure client and server engines that run on every backend.