Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_book_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { // The title of the book. Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // The name of the book author. Author string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"` // contains filtered or unexported fields }
A single book in the library.
func (*Book) Descriptor
deprecated
func (*Book) ProtoMessage ¶
func (*Book) ProtoMessage()
func (*Book) ProtoReflect ¶
func (x *Book) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.