feed

package
v0.0.0-...-e3b3a0b Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_feed_feed_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Feed

type Feed struct {
	Id              string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Title           string                 `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Author          *user.User             `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"`
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	NestedFromOther *user.Icon_Nested      `protobuf:"bytes,6,opt,name=nested_from_other,json=nestedFromOther,proto3" json:"nested_from_other,omitempty"`
	// contains filtered or unexported fields
}

func (*Feed) Descriptor deprecated

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

Deprecated: Use Feed.ProtoReflect.Descriptor instead.

func (*Feed) GetAuthor

func (x *Feed) GetAuthor() *user.User

func (*Feed) GetCreatedAt

func (x *Feed) GetCreatedAt() *timestamppb.Timestamp

func (*Feed) GetId

func (x *Feed) GetId() string

func (*Feed) GetNestedFromOther

func (x *Feed) GetNestedFromOther() *user.Icon_Nested

func (*Feed) GetTitle

func (x *Feed) GetTitle() string

func (*Feed) PathBuilder

func (x *Feed) PathBuilder() IFeedPathBuilder

PathBuilder returns the field path for Feed

func (*Feed) ProtoMessage

func (*Feed) ProtoMessage()

func (*Feed) ProtoReflect

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

func (*Feed) Reset

func (x *Feed) Reset()

func (*Feed) String

func (x *Feed) String() string

type IFeedPathBuilder

type IFeedPathBuilder interface {
	String() string
	Id() fieldmask.IEndPathBuilder
	Title() fieldmask.IEndPathBuilder
	Author() user.IUserPathBuilder
	CreatedAt() fieldmask.ITimestampPathBuilder
	NestedFromOther() user.IIcon_NestedPathBuilder
}

IFeedPathBuilder is the interface for the field path of Feed

func NewFeedPathBuilder

func NewFeedPathBuilder(fieldPath string) IFeedPathBuilder

NewFeedPathBuilder creates a new feedPathBuilder

Jump to

Keyboard shortcuts

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