modulepackage
0.0.0-20250107105925-e1c1962caa97
Repository: https://github.com/jumpaku/protoc-plugin-lib.git
Documentation: pkg.go.dev
# README
protoc-plugin-lib
protoc-plugin-lib is a Go library that helps to implement code generators based on Protocol Buffers schema files.
# Functions
Run executes the plugin handler with the provided input and output streams.
# Structs
Enum represents a protobuf enum descriptor.
EnumOptions represents the options for a protobuf enum.
EnumValue represents a value in a protobuf enum.
EnumValueOptions represents the options for a protobuf enum value.
Field represents a field in a protobuf message.
FieldOptions represents the options for a protobuf field.
File represents a protobuf file descriptor.
FileOptions represents the options for a protobuf file.
GeneratedFile represents a file generated by the plugin.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Message represents a protobuf message descriptor.
MessageOptions represents the options for a protobuf message.
Method represents a method in a protobuf service.
MethodOptions represents the options for a protobuf method.
Oneof represents a oneof field in a protobuf message.
OneofOptions represents the options for a protobuf oneof field.
Service represents a protobuf service descriptor.
ServiceOptions represents the options for a protobuf service.
# Type aliases
PluginHandler is a function type that handles the code generation request and returns generated files.