modulepackage
1.0.0-beta.5
Repository: https://github.com/cosmos/cosmos-proto.git
Documentation: pkg.go.dev
# README
Pulsar
Installing
go install github.com/cosmos/cosmos-proto/cmd/protoc-gen-go-pulsar
Running
cd path/to/proto/files
protoc --go-pulsar_out=. --go-pulsar_opt=paths=source_relative --go-pulsar_opt=features=protoc+fast -I . NAME_OF_FILE.proto
Acknowledgements
Code for the generator structure/features and the functions marshal, unmarshal, and size implemented by planetscale/vtprotobuf was used in our ProtoMethods
implementation.
Code used to produce default code stubs found in protobuf was copied into features/protoc.
# Packages
package any deprecated: use anyutil package instead.
Package any is a helper library to be used as a replacement for some of the official "google.golang.org/protobuf/types/known/anypb"'s functions which prepend the "type.googleapis.com" prefix in type URLs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Code generated by protoc-gen-go-pulsar.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
accepts_interface is used to annotate that a google.protobuf.Any field accepts messages that implement the specified interface.
declare_interface declares an interface type to be used with accepts_interface and implements_interface.
declare_scalar declares a scalar type to be used with the scalar field option.
field_added_in is used to indicate from which version the field was added.
file_added_in is used to indicate from which the version the file was added.
implements_interface is used to indicate the type name of the interface that a message implements so that it can be used in google.protobuf.Any fields that accept that interface.
message_added_in is used to indicate from which version the message was added.
method_added_in is used to indicate from which version the method was added.
scalar is used to indicate that this field follows the formatting defined by the named scalar which should be declared with declare_scalar.
No description provided by the author
Enum value maps for ScalarType.
Enum value maps for ScalarType.
# Structs
InterfaceDescriptor describes an interface type to be used with accepts_interface and implements_interface and declared by declare_interface.
ScalarDescriptor describes an scalar type to be used with the scalar field option and declared by declare_scalar.
# Type aliases
No description provided by the author