comment

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_comment_comment_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CommentDB

type CommentDB struct {
	Id               uint32                     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Rating           uint32                     `protobuf:"varint,2,opt,name=rating,proto3" json:"rating,omitempty"`
	Text             string                     `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	CreationDate     string                     `protobuf:"bytes,4,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
	User             *user.UserDB               `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
	CommentMenuItems []*menu_item.WrapMenuItems `protobuf:"bytes,6,rep,name=comment_menu_items,json=commentMenuItems,proto3" json:"comment_menu_items,omitempty"`
	// contains filtered or unexported fields
}

func (*CommentDB) Descriptor deprecated

func (*CommentDB) Descriptor() ([]byte, []int)

Deprecated: Use CommentDB.ProtoReflect.Descriptor instead.

func (*CommentDB) GetCommentMenuItems

func (x *CommentDB) GetCommentMenuItems() []*menu_item.WrapMenuItems

func (*CommentDB) GetCreationDate

func (x *CommentDB) GetCreationDate() string

func (*CommentDB) GetId

func (x *CommentDB) GetId() uint32

func (*CommentDB) GetRating

func (x *CommentDB) GetRating() uint32

func (*CommentDB) GetText

func (x *CommentDB) GetText() string

func (*CommentDB) GetUser

func (x *CommentDB) GetUser() *user.UserDB

func (*CommentDB) ProtoMessage

func (*CommentDB) ProtoMessage()

func (*CommentDB) ProtoReflect

func (x *CommentDB) ProtoReflect() protoreflect.Message

func (*CommentDB) Reset

func (x *CommentDB) Reset()

func (*CommentDB) String

func (x *CommentDB) String() string

type WrapComment

type WrapComment struct {
	Comment *CommentDB `protobuf:"bytes,1,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*WrapComment) Descriptor deprecated

func (*WrapComment) Descriptor() ([]byte, []int)

Deprecated: Use WrapComment.ProtoReflect.Descriptor instead.

func (*WrapComment) GetComment

func (x *WrapComment) GetComment() *CommentDB

func (*WrapComment) ProtoMessage

func (*WrapComment) ProtoMessage()

func (*WrapComment) ProtoReflect

func (x *WrapComment) ProtoReflect() protoreflect.Message

func (*WrapComment) Reset

func (x *WrapComment) Reset()

func (*WrapComment) String

func (x *WrapComment) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL