Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProtoTypeBool = descriptorpb.FieldDescriptorProto_TYPE_BOOL ProtoTypeBytes = descriptorpb.FieldDescriptorProto_TYPE_BYTES ProtoTypeDouble = descriptorpb.FieldDescriptorProto_TYPE_DOUBLE ProtoTypeEnum = descriptorpb.FieldDescriptorProto_TYPE_ENUM ProtoTypeFixed32 = descriptorpb.FieldDescriptorProto_TYPE_FIXED32 ProtoTypeFixed64 = descriptorpb.FieldDescriptorProto_TYPE_FIXED64 ProtoTypeFloat = descriptorpb.FieldDescriptorProto_TYPE_FLOAT ProtoTypeGroup = descriptorpb.FieldDescriptorProto_TYPE_GROUP ProtoTypeInt32 = descriptorpb.FieldDescriptorProto_TYPE_INT32 ProtoTypeInt64 = descriptorpb.FieldDescriptorProto_TYPE_INT64 ProtoTypeMessage = descriptorpb.FieldDescriptorProto_TYPE_MESSAGE ProtoTypeSfixed32 = descriptorpb.FieldDescriptorProto_TYPE_SFIXED32 ProtoTypeSfixed64 = descriptorpb.FieldDescriptorProto_TYPE_SFIXED64 ProtoTypeSint32 = descriptorpb.FieldDescriptorProto_TYPE_SINT32 ProtoTypeSint64 = descriptorpb.FieldDescriptorProto_TYPE_SINT64 ProtoTypeString = descriptorpb.FieldDescriptorProto_TYPE_STRING ProtoTypeUint32 = descriptorpb.FieldDescriptorProto_TYPE_UINT32 ProtoTypeUint64 = descriptorpb.FieldDescriptorProto_TYPE_UINT64 )
alias of descriptor.FieldDescriptorProto_TYPE.
Variables ¶
View Source
var Version = tag + "@" + gitCommit
Version is the protoc-gen-jsonschema version.
Functions ¶
Types ¶
type ProtoPackage ¶
type ProtoPackage struct {
// contains filtered or unexported fields
}
ProtoPackage describes a package of Protobuf, which is an container of message types.
Click to show internal directories.
Click to hide internal directories.