cheroapi

package
v0.0.0-...-75ca6bc Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2020 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCrudCheropatillaServer

func RegisterCrudCheropatillaServer(s *grpc.Server, srv CrudCheropatillaServer)

func RegisterCrudGeneralServer

func RegisterCrudGeneralServer(s *grpc.Server, srv CrudGeneralServer)

Types

type ActivityPattern

type ActivityPattern struct {
	Pattern []metadata.ContentStatus `protobuf:"varint,1,rep,packed,name=pattern,proto3,enum=metadata.ContentStatus" json:"pattern,omitempty"`
	// discard_ids is a map of user_ids to activity from the user referred to by
	// the key that must not be returned back, since it's content the user has
	// already seen.
	DiscardIds map[string]*dataformat.Activity `` /* 179-byte string literal not displayed */
	// users holds the list of users to get their activity.
	Users                []string `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ActivityPattern holds an array of ContentStatus, composing up a pattern of content that's expected to get back. It is intended for recycling activity from different users.

func (*ActivityPattern) Descriptor

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

func (*ActivityPattern) GetDiscardIds

func (m *ActivityPattern) GetDiscardIds() map[string]*dataformat.Activity

func (*ActivityPattern) GetPattern

func (m *ActivityPattern) GetPattern() []metadata.ContentStatus

func (*ActivityPattern) GetUsers

func (m *ActivityPattern) GetUsers() []string

func (*ActivityPattern) ProtoMessage

func (*ActivityPattern) ProtoMessage()

func (*ActivityPattern) Reset

func (m *ActivityPattern) Reset()

func (*ActivityPattern) String

func (m *ActivityPattern) String() string

func (*ActivityPattern) XXX_DiscardUnknown

func (m *ActivityPattern) XXX_DiscardUnknown()

func (*ActivityPattern) XXX_Marshal

func (m *ActivityPattern) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ActivityPattern) XXX_Merge

func (m *ActivityPattern) XXX_Merge(src proto.Message)

func (*ActivityPattern) XXX_Size

func (m *ActivityPattern) XXX_Size() int

func (*ActivityPattern) XXX_Unmarshal

func (m *ActivityPattern) XXX_Unmarshal(b []byte) error

type CommentRequest

type CommentRequest struct {
	// A comment has the same basic structure as regular content but doesn't have a title.
	Content     string               `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	FtFile      string               `protobuf:"bytes,2,opt,name=ft_file,json=ftFile,proto3" json:"ft_file,omitempty"`
	UserId      string               `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	PublishDate *timestamp.Timestamp `protobuf:"bytes,4,opt,name=publish_date,json=publishDate,proto3" json:"publish_date,omitempty"`
	// The comment event occurs either in a thread or in a comment.
	//
	// Types that are valid to be assigned to ContentContext:
	//	*CommentRequest_ThreadCtx
	//	*CommentRequest_CommentCtx
	ContentContext       isCommentRequest_ContentContext `protobuf_oneof:"content_context"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

CommentRequest holds information about the comment event.

func (*CommentRequest) Descriptor

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

func (*CommentRequest) GetCommentCtx

func (m *CommentRequest) GetCommentCtx() *context.Comment

func (*CommentRequest) GetContent

func (m *CommentRequest) GetContent() string

func (*CommentRequest) GetContentContext

func (m *CommentRequest) GetContentContext() isCommentRequest_ContentContext

func (*CommentRequest) GetFtFile

func (m *CommentRequest) GetFtFile() string

func (*CommentRequest) GetPublishDate

func (m *CommentRequest) GetPublishDate() *timestamp.Timestamp

func (*CommentRequest) GetThreadCtx

func (m *CommentRequest) GetThreadCtx() *context.Thread

func (*CommentRequest) GetUserId

func (m *CommentRequest) GetUserId() string

func (*CommentRequest) ProtoMessage

func (*CommentRequest) ProtoMessage()

func (*CommentRequest) Reset

func (m *CommentRequest) Reset()

func (*CommentRequest) String

func (m *CommentRequest) String() string

func (*CommentRequest) XXX_DiscardUnknown

func (m *CommentRequest) XXX_DiscardUnknown()

func (*CommentRequest) XXX_Marshal

func (m *CommentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommentRequest) XXX_Merge

func (m *CommentRequest) XXX_Merge(src proto.Message)

func (*CommentRequest) XXX_OneofWrappers

func (*CommentRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*CommentRequest) XXX_Size

func (m *CommentRequest) XXX_Size() int

func (*CommentRequest) XXX_Unmarshal

func (m *CommentRequest) XXX_Unmarshal(b []byte) error

type CommentRequest_CommentCtx

type CommentRequest_CommentCtx struct {
	CommentCtx *context.Comment `protobuf:"bytes,6,opt,name=comment_ctx,json=commentCtx,proto3,oneof"`
}

type CommentRequest_ThreadCtx

type CommentRequest_ThreadCtx struct {
	ThreadCtx *context.Thread `protobuf:"bytes,5,opt,name=thread_ctx,json=threadCtx,proto3,oneof"`
}

type Content

type Content struct {
	Title                string               `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Content              string               `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	FtFile               string               `protobuf:"bytes,3,opt,name=ft_file,json=ftFile,proto3" json:"ft_file,omitempty"`
	PublishDate          *timestamp.Timestamp `protobuf:"bytes,4,opt,name=publish_date,json=publishDate,proto3" json:"publish_date,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Content) Descriptor

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

func (*Content) GetContent

func (m *Content) GetContent() string

func (*Content) GetFtFile

func (m *Content) GetFtFile() string

func (*Content) GetPublishDate

func (m *Content) GetPublishDate() *timestamp.Timestamp

func (*Content) GetTitle

func (m *Content) GetTitle() string

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) Reset

func (m *Content) Reset()

func (*Content) String

func (m *Content) String() string

func (*Content) XXX_DiscardUnknown

func (m *Content) XXX_DiscardUnknown()

func (*Content) XXX_Marshal

func (m *Content) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Content) XXX_Merge

func (m *Content) XXX_Merge(src proto.Message)

func (*Content) XXX_Size

func (m *Content) XXX_Size() int

func (*Content) XXX_Unmarshal

func (m *Content) XXX_Unmarshal(b []byte) error

type ContentAuthor

type ContentAuthor struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Username             string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Alias                string   `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContentAuthor) Descriptor

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

func (*ContentAuthor) GetAlias

func (m *ContentAuthor) GetAlias() string

func (*ContentAuthor) GetId

func (m *ContentAuthor) GetId() string

func (*ContentAuthor) GetUsername

func (m *ContentAuthor) GetUsername() string

func (*ContentAuthor) ProtoMessage

func (*ContentAuthor) ProtoMessage()

func (*ContentAuthor) Reset

func (m *ContentAuthor) Reset()

func (*ContentAuthor) String

func (m *ContentAuthor) String() string

func (*ContentAuthor) XXX_DiscardUnknown

func (m *ContentAuthor) XXX_DiscardUnknown()

func (*ContentAuthor) XXX_Marshal

func (m *ContentAuthor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContentAuthor) XXX_Merge

func (m *ContentAuthor) XXX_Merge(src proto.Message)

func (*ContentAuthor) XXX_Size

func (m *ContentAuthor) XXX_Size() int

func (*ContentAuthor) XXX_Unmarshal

func (m *ContentAuthor) XXX_Unmarshal(b []byte) error

type ContentContext

type ContentContext struct {
	Key                  *context.Context `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Status               string           `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ContentContext) Descriptor

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

func (*ContentContext) GetKey

func (m *ContentContext) GetKey() *context.Context

func (*ContentContext) GetStatus

func (m *ContentContext) GetStatus() string

func (*ContentContext) ProtoMessage

func (*ContentContext) ProtoMessage()

func (*ContentContext) Reset

func (m *ContentContext) Reset()

func (*ContentContext) String

func (m *ContentContext) String() string

func (*ContentContext) XXX_DiscardUnknown

func (m *ContentContext) XXX_DiscardUnknown()

func (*ContentContext) XXX_Marshal

func (m *ContentContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContentContext) XXX_Merge

func (m *ContentContext) XXX_Merge(src proto.Message)

func (*ContentContext) XXX_Size

func (m *ContentContext) XXX_Size() int

func (*ContentContext) XXX_Unmarshal

func (m *ContentContext) XXX_Unmarshal(b []byte) error

type ContentData

type ContentData struct {
	Author               *ContentAuthor   `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
	Content              *Content         `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	Metadata             *ContentMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ContentData) Descriptor

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

func (*ContentData) GetAuthor

func (m *ContentData) GetAuthor() *ContentAuthor

func (*ContentData) GetContent

func (m *ContentData) GetContent() *Content

func (*ContentData) GetMetadata

func (m *ContentData) GetMetadata() *ContentMetadata

func (*ContentData) ProtoMessage

func (*ContentData) ProtoMessage()

func (*ContentData) Reset

func (m *ContentData) Reset()

func (*ContentData) String

func (m *ContentData) String() string

func (*ContentData) XXX_DiscardUnknown

func (m *ContentData) XXX_DiscardUnknown()

func (*ContentData) XXX_Marshal

func (m *ContentData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContentData) XXX_Merge

func (m *ContentData) XXX_Merge(src proto.Message)

func (*ContentData) XXX_Size

func (m *ContentData) XXX_Size() int

func (*ContentData) XXX_Unmarshal

func (m *ContentData) XXX_Unmarshal(b []byte) error

type ContentMetadata

type ContentMetadata struct {
	// id contains the THREAD ID
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// section is the name of the section
	Section string `protobuf:"bytes,2,opt,name=section,proto3" json:"section,omitempty"`
	// permalink is the full url to the content, including any fragment
	Permalink  string   `protobuf:"bytes,3,opt,name=permalink,proto3" json:"permalink,omitempty"`
	Upvotes    uint32   `protobuf:"varint,4,opt,name=upvotes,proto3" json:"upvotes,omitempty"`
	Replies    uint32   `protobuf:"varint,5,opt,name=replies,proto3" json:"replies,omitempty"`
	VoterIds   []string `protobuf:"bytes,6,rep,name=voter_ids,json=voterIds,proto3" json:"voter_ids,omitempty"`
	ReplierIds []string `protobuf:"bytes,7,rep,name=replier_ids,json=replierIds,proto3" json:"replier_ids,omitempty"`
	// list of users who saved this content
	UsersWhoSaved []string `protobuf:"bytes,8,rep,name=users_who_saved,json=usersWhoSaved,proto3" json:"users_who_saved,omitempty"`
	// section_id is the id of the section
	SectionId            string   `protobuf:"bytes,9,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ContentMetadata) Descriptor

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

func (*ContentMetadata) GetId

func (m *ContentMetadata) GetId() string
func (m *ContentMetadata) GetPermalink() string

func (*ContentMetadata) GetReplierIds

func (m *ContentMetadata) GetReplierIds() []string

func (*ContentMetadata) GetReplies

func (m *ContentMetadata) GetReplies() uint32

func (*ContentMetadata) GetSection

func (m *ContentMetadata) GetSection() string

func (*ContentMetadata) GetSectionId

func (m *ContentMetadata) GetSectionId() string

func (*ContentMetadata) GetUpvotes

func (m *ContentMetadata) GetUpvotes() uint32

func (*ContentMetadata) GetUsersWhoSaved

func (m *ContentMetadata) GetUsersWhoSaved() []string

func (*ContentMetadata) GetVoterIds

func (m *ContentMetadata) GetVoterIds() []string

func (*ContentMetadata) ProtoMessage

func (*ContentMetadata) ProtoMessage()

func (*ContentMetadata) Reset

func (m *ContentMetadata) Reset()

func (*ContentMetadata) String

func (m *ContentMetadata) String() string

func (*ContentMetadata) XXX_DiscardUnknown

func (m *ContentMetadata) XXX_DiscardUnknown()

func (*ContentMetadata) XXX_Marshal

func (m *ContentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContentMetadata) XXX_Merge

func (m *ContentMetadata) XXX_Merge(src proto.Message)

func (*ContentMetadata) XXX_Size

func (m *ContentMetadata) XXX_Size() int

func (*ContentMetadata) XXX_Unmarshal

func (m *ContentMetadata) XXX_Unmarshal(b []byte) error

type ContentOverview

type ContentOverview struct {
	Metadata             *metadata.Content `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Context              *context.Context  `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ContentOverview) Descriptor

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

func (*ContentOverview) GetContext

func (m *ContentOverview) GetContext() *context.Context

func (*ContentOverview) GetMetadata

func (m *ContentOverview) GetMetadata() *metadata.Content

func (*ContentOverview) ProtoMessage

func (*ContentOverview) ProtoMessage()

func (*ContentOverview) Reset

func (m *ContentOverview) Reset()

func (*ContentOverview) String

func (m *ContentOverview) String() string

func (*ContentOverview) XXX_DiscardUnknown

func (m *ContentOverview) XXX_DiscardUnknown()

func (*ContentOverview) XXX_Marshal

func (m *ContentOverview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContentOverview) XXX_Merge

func (m *ContentOverview) XXX_Merge(src proto.Message)

func (*ContentOverview) XXX_Size

func (m *ContentOverview) XXX_Size() int

func (*ContentOverview) XXX_Unmarshal

func (m *ContentOverview) XXX_Unmarshal(b []byte) error

type ContentPattern

type ContentPattern struct {
	Pattern []metadata.ContentStatus `protobuf:"varint,1,rep,packed,name=pattern,proto3,enum=metadata.ContentStatus" json:"pattern,omitempty"`
	// discard_ids is an array of content ids that must not be returned back, since it's
	// content the user has already seen.
	DiscardIds []string `protobuf:"bytes,2,rep,name=discard_ids,json=discardIds,proto3" json:"discard_ids,omitempty"`
	// content_context represents the place in which the content must be retrieved from.
	//
	// Types that are valid to be assigned to ContentContext:
	//	*ContentPattern_SectionCtx
	//	*ContentPattern_ThreadCtx
	ContentContext       isContentPattern_ContentContext `protobuf_oneof:"content_context"`
	XXX_NoUnkeyedLiteral struct{}                        `json:"-"`
	XXX_unrecognized     []byte                          `json:"-"`
	XXX_sizecache        int32                           `json:"-"`
}

ContentPattern holds an array of ContentStatus, composing up a pattern of content that's expected to get back. It is intended for recycling content of a specific type: either threads in a section, or comments in a thread.

func (*ContentPattern) Descriptor

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

func (*ContentPattern) GetContentContext

func (m *ContentPattern) GetContentContext() isContentPattern_ContentContext

func (*ContentPattern) GetDiscardIds

func (m *ContentPattern) GetDiscardIds() []string

func (*ContentPattern) GetPattern

func (m *ContentPattern) GetPattern() []metadata.ContentStatus

func (*ContentPattern) GetSectionCtx

func (m *ContentPattern) GetSectionCtx() *context.Section

func (*ContentPattern) GetThreadCtx

func (m *ContentPattern) GetThreadCtx() *context.Thread

func (*ContentPattern) ProtoMessage

func (*ContentPattern) ProtoMessage()

func (*ContentPattern) Reset

func (m *ContentPattern) Reset()

func (*ContentPattern) String

func (m *ContentPattern) String() string

func (*ContentPattern) XXX_DiscardUnknown

func (m *ContentPattern) XXX_DiscardUnknown()

func (*ContentPattern) XXX_Marshal

func (m *ContentPattern) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContentPattern) XXX_Merge

func (m *ContentPattern) XXX_Merge(src proto.Message)

func (*ContentPattern) XXX_OneofWrappers

func (*ContentPattern) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ContentPattern) XXX_Size

func (m *ContentPattern) XXX_Size() int

func (*ContentPattern) XXX_Unmarshal

func (m *ContentPattern) XXX_Unmarshal(b []byte) error

type ContentPattern_SectionCtx

type ContentPattern_SectionCtx struct {
	SectionCtx *context.Section `protobuf:"bytes,3,opt,name=section_ctx,json=sectionCtx,proto3,oneof"`
}

type ContentPattern_ThreadCtx

type ContentPattern_ThreadCtx struct {
	ThreadCtx *context.Thread `protobuf:"bytes,4,opt,name=thread_ctx,json=threadCtx,proto3,oneof"`
}

type ContentRule

type ContentRule struct {
	Data *ContentData `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Types that are valid to be assigned to ContentContext:
	//	*ContentRule_ThreadCtx
	//	*ContentRule_CommentCtx
	//	*ContentRule_SubcommentCtx
	ContentContext isContentRule_ContentContext `protobuf_oneof:"content_context"`
	// Status holds either NEW, REL or TOP
	Status               string   `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ContentRule holds a piece of content, its current status and its type.

func (*ContentRule) Descriptor

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

func (*ContentRule) GetCommentCtx

func (m *ContentRule) GetCommentCtx() *context.Comment

func (*ContentRule) GetContentContext

func (m *ContentRule) GetContentContext() isContentRule_ContentContext

func (*ContentRule) GetData

func (m *ContentRule) GetData() *ContentData

func (*ContentRule) GetStatus

func (m *ContentRule) GetStatus() string

func (*ContentRule) GetSubcommentCtx

func (m *ContentRule) GetSubcommentCtx() *context.Subcomment

func (*ContentRule) GetThreadCtx

func (m *ContentRule) GetThreadCtx() *context.Thread

func (*ContentRule) ProtoMessage

func (*ContentRule) ProtoMessage()

func (*ContentRule) Reset

func (m *ContentRule) Reset()

func (*ContentRule) String

func (m *ContentRule) String() string

func (*ContentRule) XXX_DiscardUnknown

func (m *ContentRule) XXX_DiscardUnknown()

func (*ContentRule) XXX_Marshal

func (m *ContentRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContentRule) XXX_Merge

func (m *ContentRule) XXX_Merge(src proto.Message)

func (*ContentRule) XXX_OneofWrappers

func (*ContentRule) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ContentRule) XXX_Size

func (m *ContentRule) XXX_Size() int

func (*ContentRule) XXX_Unmarshal

func (m *ContentRule) XXX_Unmarshal(b []byte) error

type ContentRule_CommentCtx

type ContentRule_CommentCtx struct {
	CommentCtx *context.Comment `protobuf:"bytes,3,opt,name=comment_ctx,json=commentCtx,proto3,oneof"`
}

type ContentRule_SubcommentCtx

type ContentRule_SubcommentCtx struct {
	SubcommentCtx *context.Subcomment `protobuf:"bytes,4,opt,name=subcomment_ctx,json=subcommentCtx,proto3,oneof"`
}

type ContentRule_ThreadCtx

type ContentRule_ThreadCtx struct {
	ThreadCtx *context.Thread `protobuf:"bytes,2,opt,name=thread_ctx,json=threadCtx,proto3,oneof"`
}

type CreateThreadRequest

type CreateThreadRequest struct {
	Content              *Content         `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	SectionCtx           *context.Section `protobuf:"bytes,2,opt,name=section_ctx,json=sectionCtx,proto3" json:"section_ctx,omitempty"`
	UserId               string           `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

CreateThreadRequest holds the content of the thread, the section at which the content is being created and the id of the author.

func (*CreateThreadRequest) Descriptor

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

func (*CreateThreadRequest) GetContent

func (m *CreateThreadRequest) GetContent() *Content

func (*CreateThreadRequest) GetSectionCtx

func (m *CreateThreadRequest) GetSectionCtx() *context.Section

func (*CreateThreadRequest) GetUserId

func (m *CreateThreadRequest) GetUserId() string

func (*CreateThreadRequest) ProtoMessage

func (*CreateThreadRequest) ProtoMessage()

func (*CreateThreadRequest) Reset

func (m *CreateThreadRequest) Reset()

func (*CreateThreadRequest) String

func (m *CreateThreadRequest) String() string

func (*CreateThreadRequest) XXX_DiscardUnknown

func (m *CreateThreadRequest) XXX_DiscardUnknown()

func (*CreateThreadRequest) XXX_Marshal

func (m *CreateThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateThreadRequest) XXX_Merge

func (m *CreateThreadRequest) XXX_Merge(src proto.Message)

func (*CreateThreadRequest) XXX_Size

func (m *CreateThreadRequest) XXX_Size() int

func (*CreateThreadRequest) XXX_Unmarshal

func (m *CreateThreadRequest) XXX_Unmarshal(b []byte) error

type CreateThreadResponse

type CreateThreadResponse struct {
	Permalink            string   `protobuf:"bytes,1,opt,name=permalink,proto3" json:"permalink,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

CreateThreadResponse holds the relative URL of the thread just created

func (*CreateThreadResponse) Descriptor

func (*CreateThreadResponse) Descriptor() ([]byte, []int)
func (m *CreateThreadResponse) GetPermalink() string

func (*CreateThreadResponse) ProtoMessage

func (*CreateThreadResponse) ProtoMessage()

func (*CreateThreadResponse) Reset

func (m *CreateThreadResponse) Reset()

func (*CreateThreadResponse) String

func (m *CreateThreadResponse) String() string

func (*CreateThreadResponse) XXX_DiscardUnknown

func (m *CreateThreadResponse) XXX_DiscardUnknown()

func (*CreateThreadResponse) XXX_Marshal

func (m *CreateThreadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateThreadResponse) XXX_Merge

func (m *CreateThreadResponse) XXX_Merge(src proto.Message)

func (*CreateThreadResponse) XXX_Size

func (m *CreateThreadResponse) XXX_Size() int

func (*CreateThreadResponse) XXX_Unmarshal

func (m *CreateThreadResponse) XXX_Unmarshal(b []byte) error

type CrudCheropatillaClient

type CrudCheropatillaClient interface {
	// Get new feed of either threads in a section or comments in a thread.
	//
	// In case of being called in the context of a section, it returns only
	// threads that are currently active, as opposed to comments in a thread,
	// in which case the type of content is considered always active, despite
	// the current status of the thread they belong to.
	//
	// It may return a codes.InvalidArgument error in case of being passed a
	// request with a nil ContentContext or a codes.Internal error in case of
	// a database querying or network issue.
	RecycleContent(ctx context1.Context, in *ContentPattern, opts ...grpc.CallOption) (CrudCheropatilla_RecycleContentClient, error)
	// Get metadata of active threads.
	GetActiveThreadsOverview(ctx context1.Context, in *GetActiveThreadsOverviewRequest, opts ...grpc.CallOption) (CrudCheropatilla_GetActiveThreadsOverviewClient, error)
	// Get metadata of threads along with the section information.
	GetThreadsOverview(ctx context1.Context, in *GetThreadsOverviewRequest, opts ...grpc.CallOption) (CrudCheropatilla_GetThreadsOverviewClient, error)
	// Get metadata of contents along with their context.
	GetActivityOverview(ctx context1.Context, in *dataformat.Activity, opts ...grpc.CallOption) (CrudCheropatilla_GetActivityOverviewClient, error)
	// Get data of contents by their context; either thread, comment or subcomment.
	GetContentsByContext(ctx context1.Context, in *GetContentsByContextRequest, opts ...grpc.CallOption) (CrudCheropatilla_GetContentsByContextClient, error)
	// Post upvote on thread, comment or subcomment
	Upvote(ctx context1.Context, in *UpvoteRequest, opts ...grpc.CallOption) (CrudCheropatilla_UpvoteClient, error)
	// Undo upvote on a thread, comment or subcomment
	UndoUpvote(ctx context1.Context, in *UndoUpvoteRequest, opts ...grpc.CallOption) (*UndoUpvoteResponse, error)
	// Post comment on a thread or in a comment
	Comment(ctx context1.Context, in *CommentRequest, opts ...grpc.CallOption) (CrudCheropatilla_CommentClient, error)
	// Update a thread, comment or subcomment
	// rpc UpdateContent(UpdateContentRequest) returns (stream NotifyUser) {}
	// Delete a thread, comment or subcomment
	DeleteContent(ctx context1.Context, in *DeleteContentRequest, opts ...grpc.CallOption) (*DeleteContentResponse, error)
	// Post a thread to create
	CreateThread(ctx context1.Context, in *CreateThreadRequest, opts ...grpc.CallOption) (*CreateThreadResponse, error)
	// Get a single thread
	GetThread(ctx context1.Context, in *GetThreadRequest, opts ...grpc.CallOption) (*ContentData, error)
	// Get a comment's comments
	GetSubcomments(ctx context1.Context, in *GetSubcommentsRequest, opts ...grpc.CallOption) (CrudCheropatilla_GetSubcommentsClient, error)
	// Request to save thread
	SaveThread(ctx context1.Context, in *SaveThreadRequest, opts ...grpc.CallOption) (*SaveThreadResponse, error)
	// Request to remove thread from user's list of saved threads
	UndoSaveThread(ctx context1.Context, in *UndoSaveThreadRequest, opts ...grpc.CallOption) (*UndoSaveThreadResponse, error)
}

CrudCheropatillaClient is the client API for CrudCheropatilla service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type CrudCheropatillaServer

type CrudCheropatillaServer interface {
	// Get new feed of either threads in a section or comments in a thread.
	//
	// In case of being called in the context of a section, it returns only
	// threads that are currently active, as opposed to comments in a thread,
	// in which case the type of content is considered always active, despite
	// the current status of the thread they belong to.
	//
	// It may return a codes.InvalidArgument error in case of being passed a
	// request with a nil ContentContext or a codes.Internal error in case of
	// a database querying or network issue.
	RecycleContent(*ContentPattern, CrudCheropatilla_RecycleContentServer) error
	// Get metadata of active threads.
	GetActiveThreadsOverview(*GetActiveThreadsOverviewRequest, CrudCheropatilla_GetActiveThreadsOverviewServer) error
	// Get metadata of threads along with the section information.
	GetThreadsOverview(*GetThreadsOverviewRequest, CrudCheropatilla_GetThreadsOverviewServer) error
	// Get metadata of contents along with their context.
	GetActivityOverview(*dataformat.Activity, CrudCheropatilla_GetActivityOverviewServer) error
	// Get data of contents by their context; either thread, comment or subcomment.
	GetContentsByContext(*GetContentsByContextRequest, CrudCheropatilla_GetContentsByContextServer) error
	// Post upvote on thread, comment or subcomment
	Upvote(*UpvoteRequest, CrudCheropatilla_UpvoteServer) error
	// Undo upvote on a thread, comment or subcomment
	UndoUpvote(context1.Context, *UndoUpvoteRequest) (*UndoUpvoteResponse, error)
	// Post comment on a thread or in a comment
	Comment(*CommentRequest, CrudCheropatilla_CommentServer) error
	// Update a thread, comment or subcomment
	// rpc UpdateContent(UpdateContentRequest) returns (stream NotifyUser) {}
	// Delete a thread, comment or subcomment
	DeleteContent(context1.Context, *DeleteContentRequest) (*DeleteContentResponse, error)
	// Post a thread to create
	CreateThread(context1.Context, *CreateThreadRequest) (*CreateThreadResponse, error)
	// Get a single thread
	GetThread(context1.Context, *GetThreadRequest) (*ContentData, error)
	// Get a comment's comments
	GetSubcomments(*GetSubcommentsRequest, CrudCheropatilla_GetSubcommentsServer) error
	// Request to save thread
	SaveThread(context1.Context, *SaveThreadRequest) (*SaveThreadResponse, error)
	// Request to remove thread from user's list of saved threads
	UndoSaveThread(context1.Context, *UndoSaveThreadRequest) (*UndoSaveThreadResponse, error)
}

CrudCheropatillaServer is the server API for CrudCheropatilla service.

type CrudCheropatilla_CommentClient

type CrudCheropatilla_CommentClient interface {
	Recv() (*NotifyUser, error)
	grpc.ClientStream
}

type CrudCheropatilla_CommentServer

type CrudCheropatilla_CommentServer interface {
	Send(*NotifyUser) error
	grpc.ServerStream
}

type CrudCheropatilla_GetActiveThreadsOverviewClient

type CrudCheropatilla_GetActiveThreadsOverviewClient interface {
	Recv() (*metadata.GeneralContent, error)
	grpc.ClientStream
}

type CrudCheropatilla_GetActiveThreadsOverviewServer

type CrudCheropatilla_GetActiveThreadsOverviewServer interface {
	Send(*metadata.GeneralContent) error
	grpc.ServerStream
}

type CrudCheropatilla_GetActivityOverviewClient

type CrudCheropatilla_GetActivityOverviewClient interface {
	Recv() (*ContentOverview, error)
	grpc.ClientStream
}

type CrudCheropatilla_GetActivityOverviewServer

type CrudCheropatilla_GetActivityOverviewServer interface {
	Send(*ContentOverview) error
	grpc.ServerStream
}

type CrudCheropatilla_GetContentsByContextClient

type CrudCheropatilla_GetContentsByContextClient interface {
	Recv() (*ContentRule, error)
	grpc.ClientStream
}

type CrudCheropatilla_GetContentsByContextServer

type CrudCheropatilla_GetContentsByContextServer interface {
	Send(*ContentRule) error
	grpc.ServerStream
}

type CrudCheropatilla_GetSubcommentsClient

type CrudCheropatilla_GetSubcommentsClient interface {
	Recv() (*ContentRule, error)
	grpc.ClientStream
}

type CrudCheropatilla_GetSubcommentsServer

type CrudCheropatilla_GetSubcommentsServer interface {
	Send(*ContentRule) error
	grpc.ServerStream
}

type CrudCheropatilla_GetThreadsOverviewClient

type CrudCheropatilla_GetThreadsOverviewClient interface {
	Recv() (*metadata.GeneralContent, error)
	grpc.ClientStream
}

type CrudCheropatilla_GetThreadsOverviewServer

type CrudCheropatilla_GetThreadsOverviewServer interface {
	Send(*metadata.GeneralContent) error
	grpc.ServerStream
}

type CrudCheropatilla_RecycleContentClient

type CrudCheropatilla_RecycleContentClient interface {
	Recv() (*ContentRule, error)
	grpc.ClientStream
}

type CrudCheropatilla_RecycleContentServer

type CrudCheropatilla_RecycleContentServer interface {
	Send(*ContentRule) error
	grpc.ServerStream
}

type CrudCheropatilla_UpvoteClient

type CrudCheropatilla_UpvoteClient interface {
	Recv() (*NotifyUser, error)
	grpc.ClientStream
}

type CrudCheropatilla_UpvoteServer

type CrudCheropatilla_UpvoteServer interface {
	Send(*NotifyUser) error
	grpc.ServerStream
}

type CrudGeneralClient

type CrudGeneralClient interface {
	// Get new feed of threads in general (from multiple sections)
	RecycleGeneral(ctx context1.Context, in *GeneralPattern, opts ...grpc.CallOption) (CrudGeneral_RecycleGeneralClient, error)
	// Get new activity from either multiple users or a single user.
	RecycleActivity(ctx context1.Context, in *ActivityPattern, opts ...grpc.CallOption) (CrudGeneral_RecycleActivityClient, error)
	// Get new feed of saved threads of a user
	RecycleSaved(ctx context1.Context, in *SavedPattern, opts ...grpc.CallOption) (CrudGeneral_RecycleSavedClient, error)
}

CrudGeneralClient is the client API for CrudGeneral service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type CrudGeneralServer

type CrudGeneralServer interface {
	// Get new feed of threads in general (from multiple sections)
	RecycleGeneral(*GeneralPattern, CrudGeneral_RecycleGeneralServer) error
	// Get new activity from either multiple users or a single user.
	RecycleActivity(*ActivityPattern, CrudGeneral_RecycleActivityServer) error
	// Get new feed of saved threads of a user
	RecycleSaved(*SavedPattern, CrudGeneral_RecycleSavedServer) error
}

CrudGeneralServer is the server API for CrudGeneral service.

type CrudGeneral_RecycleActivityClient

type CrudGeneral_RecycleActivityClient interface {
	Recv() (*ContentRule, error)
	grpc.ClientStream
}

type CrudGeneral_RecycleActivityServer

type CrudGeneral_RecycleActivityServer interface {
	Send(*ContentRule) error
	grpc.ServerStream
}

type CrudGeneral_RecycleGeneralClient

type CrudGeneral_RecycleGeneralClient interface {
	Recv() (*ContentRule, error)
	grpc.ClientStream
}

type CrudGeneral_RecycleGeneralServer

type CrudGeneral_RecycleGeneralServer interface {
	Send(*ContentRule) error
	grpc.ServerStream
}

type CrudGeneral_RecycleSavedClient

type CrudGeneral_RecycleSavedClient interface {
	Recv() (*ContentRule, error)
	grpc.ClientStream
}

type CrudGeneral_RecycleSavedServer

type CrudGeneral_RecycleSavedServer interface {
	Send(*ContentRule) error
	grpc.ServerStream
}

type DeleteContentRequest

type DeleteContentRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The delete content event occurs either in a thread, in a comment or in a subcomment.
	//
	// Types that are valid to be assigned to ContentContext:
	//	*DeleteContentRequest_ThreadCtx
	//	*DeleteContentRequest_CommentCtx
	//	*DeleteContentRequest_SubcommentCtx
	ContentContext       isDeleteContentRequest_ContentContext `protobuf_oneof:"content_context"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

DeleteContentRequest holds information about the delete content event.

func (*DeleteContentRequest) Descriptor

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

func (*DeleteContentRequest) GetCommentCtx

func (m *DeleteContentRequest) GetCommentCtx() *context.Comment

func (*DeleteContentRequest) GetContentContext

func (m *DeleteContentRequest) GetContentContext() isDeleteContentRequest_ContentContext

func (*DeleteContentRequest) GetSubcommentCtx

func (m *DeleteContentRequest) GetSubcommentCtx() *context.Subcomment

func (*DeleteContentRequest) GetThreadCtx

func (m *DeleteContentRequest) GetThreadCtx() *context.Thread

func (*DeleteContentRequest) GetUserId

func (m *DeleteContentRequest) GetUserId() string

func (*DeleteContentRequest) ProtoMessage

func (*DeleteContentRequest) ProtoMessage()

func (*DeleteContentRequest) Reset

func (m *DeleteContentRequest) Reset()

func (*DeleteContentRequest) String

func (m *DeleteContentRequest) String() string

func (*DeleteContentRequest) XXX_DiscardUnknown

func (m *DeleteContentRequest) XXX_DiscardUnknown()

func (*DeleteContentRequest) XXX_Marshal

func (m *DeleteContentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteContentRequest) XXX_Merge

func (m *DeleteContentRequest) XXX_Merge(src proto.Message)

func (*DeleteContentRequest) XXX_OneofWrappers

func (*DeleteContentRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DeleteContentRequest) XXX_Size

func (m *DeleteContentRequest) XXX_Size() int

func (*DeleteContentRequest) XXX_Unmarshal

func (m *DeleteContentRequest) XXX_Unmarshal(b []byte) error

type DeleteContentRequest_CommentCtx

type DeleteContentRequest_CommentCtx struct {
	CommentCtx *context.Comment `protobuf:"bytes,3,opt,name=comment_ctx,json=commentCtx,proto3,oneof"`
}

type DeleteContentRequest_SubcommentCtx

type DeleteContentRequest_SubcommentCtx struct {
	SubcommentCtx *context.Subcomment `protobuf:"bytes,4,opt,name=subcomment_ctx,json=subcommentCtx,proto3,oneof"`
}

type DeleteContentRequest_ThreadCtx

type DeleteContentRequest_ThreadCtx struct {
	ThreadCtx *context.Thread `protobuf:"bytes,2,opt,name=thread_ctx,json=threadCtx,proto3,oneof"`
}

type DeleteContentResponse

type DeleteContentResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteContentResponse) Descriptor

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

func (*DeleteContentResponse) ProtoMessage

func (*DeleteContentResponse) ProtoMessage()

func (*DeleteContentResponse) Reset

func (m *DeleteContentResponse) Reset()

func (*DeleteContentResponse) String

func (m *DeleteContentResponse) String() string

func (*DeleteContentResponse) XXX_DiscardUnknown

func (m *DeleteContentResponse) XXX_DiscardUnknown()

func (*DeleteContentResponse) XXX_Marshal

func (m *DeleteContentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteContentResponse) XXX_Merge

func (m *DeleteContentResponse) XXX_Merge(src proto.Message)

func (*DeleteContentResponse) XXX_Size

func (m *DeleteContentResponse) XXX_Size() int

func (*DeleteContentResponse) XXX_Unmarshal

func (m *DeleteContentResponse) XXX_Unmarshal(b []byte) error

type GeneralPattern

type GeneralPattern struct {
	Pattern []metadata.ContentStatus `protobuf:"varint,1,rep,packed,name=pattern,proto3,enum=metadata.ContentStatus" json:"pattern,omitempty"`
	// discard_ids is a map of section names mapped to content ids that must not be
	// returned back, since it's content the user has already seen.
	DiscardIds           map[string]*IdList `` /* 179-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

GeneralPattern holds an array of ContentStatus, composing up a pattern of content that's expected to get back. It is intended for recycling content from every section.

func (*GeneralPattern) Descriptor

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

func (*GeneralPattern) GetDiscardIds

func (m *GeneralPattern) GetDiscardIds() map[string]*IdList

func (*GeneralPattern) GetPattern

func (m *GeneralPattern) GetPattern() []metadata.ContentStatus

func (*GeneralPattern) ProtoMessage

func (*GeneralPattern) ProtoMessage()

func (*GeneralPattern) Reset

func (m *GeneralPattern) Reset()

func (*GeneralPattern) String

func (m *GeneralPattern) String() string

func (*GeneralPattern) XXX_DiscardUnknown

func (m *GeneralPattern) XXX_DiscardUnknown()

func (*GeneralPattern) XXX_Marshal

func (m *GeneralPattern) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GeneralPattern) XXX_Merge

func (m *GeneralPattern) XXX_Merge(src proto.Message)

func (*GeneralPattern) XXX_Size

func (m *GeneralPattern) XXX_Size() int

func (*GeneralPattern) XXX_Unmarshal

func (m *GeneralPattern) XXX_Unmarshal(b []byte) error

type GetActiveThreadsOverviewRequest

type GetActiveThreadsOverviewRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetActiveThreadsOverviewRequest) Descriptor

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

func (*GetActiveThreadsOverviewRequest) ProtoMessage

func (*GetActiveThreadsOverviewRequest) ProtoMessage()

func (*GetActiveThreadsOverviewRequest) Reset

func (*GetActiveThreadsOverviewRequest) String

func (*GetActiveThreadsOverviewRequest) XXX_DiscardUnknown

func (m *GetActiveThreadsOverviewRequest) XXX_DiscardUnknown()

func (*GetActiveThreadsOverviewRequest) XXX_Marshal

func (m *GetActiveThreadsOverviewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetActiveThreadsOverviewRequest) XXX_Merge

func (m *GetActiveThreadsOverviewRequest) XXX_Merge(src proto.Message)

func (*GetActiveThreadsOverviewRequest) XXX_Size

func (m *GetActiveThreadsOverviewRequest) XXX_Size() int

func (*GetActiveThreadsOverviewRequest) XXX_Unmarshal

func (m *GetActiveThreadsOverviewRequest) XXX_Unmarshal(b []byte) error

type GetContentsByContextRequest

type GetContentsByContextRequest struct {
	Contents             []*ContentContext `protobuf:"bytes,1,rep,name=contents,proto3" json:"contents,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*GetContentsByContextRequest) Descriptor

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

func (*GetContentsByContextRequest) GetContents

func (m *GetContentsByContextRequest) GetContents() []*ContentContext

func (*GetContentsByContextRequest) ProtoMessage

func (*GetContentsByContextRequest) ProtoMessage()

func (*GetContentsByContextRequest) Reset

func (m *GetContentsByContextRequest) Reset()

func (*GetContentsByContextRequest) String

func (m *GetContentsByContextRequest) String() string

func (*GetContentsByContextRequest) XXX_DiscardUnknown

func (m *GetContentsByContextRequest) XXX_DiscardUnknown()

func (*GetContentsByContextRequest) XXX_Marshal

func (m *GetContentsByContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetContentsByContextRequest) XXX_Merge

func (m *GetContentsByContextRequest) XXX_Merge(src proto.Message)

func (*GetContentsByContextRequest) XXX_Size

func (m *GetContentsByContextRequest) XXX_Size() int

func (*GetContentsByContextRequest) XXX_Unmarshal

func (m *GetContentsByContextRequest) XXX_Unmarshal(b []byte) error

type GetSubcommentsRequest

type GetSubcommentsRequest struct {
	// comment_ctx indicates what comment is being requested
	CommentCtx *context.Comment `protobuf:"bytes,1,opt,name=comment_ctx,json=commentCtx,proto3" json:"comment_ctx,omitempty"`
	// offset indicates the number of comments to be ignored, since subcomments
	// are stored and returned sequentially in cronological order
	Offset               uint32   `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

GetSubcommentsRequest is the message for requesting a comment's subcomments.

func (*GetSubcommentsRequest) Descriptor

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

func (*GetSubcommentsRequest) GetCommentCtx

func (m *GetSubcommentsRequest) GetCommentCtx() *context.Comment

func (*GetSubcommentsRequest) GetOffset

func (m *GetSubcommentsRequest) GetOffset() uint32

func (*GetSubcommentsRequest) ProtoMessage

func (*GetSubcommentsRequest) ProtoMessage()

func (*GetSubcommentsRequest) Reset

func (m *GetSubcommentsRequest) Reset()

func (*GetSubcommentsRequest) String

func (m *GetSubcommentsRequest) String() string

func (*GetSubcommentsRequest) XXX_DiscardUnknown

func (m *GetSubcommentsRequest) XXX_DiscardUnknown()

func (*GetSubcommentsRequest) XXX_Marshal

func (m *GetSubcommentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetSubcommentsRequest) XXX_Merge

func (m *GetSubcommentsRequest) XXX_Merge(src proto.Message)

func (*GetSubcommentsRequest) XXX_Size

func (m *GetSubcommentsRequest) XXX_Size() int

func (*GetSubcommentsRequest) XXX_Unmarshal

func (m *GetSubcommentsRequest) XXX_Unmarshal(b []byte) error

type GetThreadRequest

type GetThreadRequest struct {
	Thread               *context.Thread `protobuf:"bytes,1,opt,name=thread,proto3" json:"thread,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

GetThreadRequest holds a single thread id and the section name it belongs to

func (*GetThreadRequest) Descriptor

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

func (*GetThreadRequest) GetThread

func (m *GetThreadRequest) GetThread() *context.Thread

func (*GetThreadRequest) ProtoMessage

func (*GetThreadRequest) ProtoMessage()

func (*GetThreadRequest) Reset

func (m *GetThreadRequest) Reset()

func (*GetThreadRequest) String

func (m *GetThreadRequest) String() string

func (*GetThreadRequest) XXX_DiscardUnknown

func (m *GetThreadRequest) XXX_DiscardUnknown()

func (*GetThreadRequest) XXX_Marshal

func (m *GetThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetThreadRequest) XXX_Merge

func (m *GetThreadRequest) XXX_Merge(src proto.Message)

func (*GetThreadRequest) XXX_Size

func (m *GetThreadRequest) XXX_Size() int

func (*GetThreadRequest) XXX_Unmarshal

func (m *GetThreadRequest) XXX_Unmarshal(b []byte) error

type GetThreadsOverviewRequest

type GetThreadsOverviewRequest struct {
	Ids                  []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetThreadsOverviewRequest) Descriptor

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

func (*GetThreadsOverviewRequest) GetIds

func (m *GetThreadsOverviewRequest) GetIds() []string

func (*GetThreadsOverviewRequest) ProtoMessage

func (*GetThreadsOverviewRequest) ProtoMessage()

func (*GetThreadsOverviewRequest) Reset

func (m *GetThreadsOverviewRequest) Reset()

func (*GetThreadsOverviewRequest) String

func (m *GetThreadsOverviewRequest) String() string

func (*GetThreadsOverviewRequest) XXX_DiscardUnknown

func (m *GetThreadsOverviewRequest) XXX_DiscardUnknown()

func (*GetThreadsOverviewRequest) XXX_Marshal

func (m *GetThreadsOverviewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetThreadsOverviewRequest) XXX_Merge

func (m *GetThreadsOverviewRequest) XXX_Merge(src proto.Message)

func (*GetThreadsOverviewRequest) XXX_Size

func (m *GetThreadsOverviewRequest) XXX_Size() int

func (*GetThreadsOverviewRequest) XXX_Unmarshal

func (m *GetThreadsOverviewRequest) XXX_Unmarshal(b []byte) error

type IdList

type IdList struct {
	Ids                  []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

IdList holds a list of ids of content

func (*IdList) Descriptor

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

func (*IdList) GetIds

func (m *IdList) GetIds() []string

func (*IdList) ProtoMessage

func (*IdList) ProtoMessage()

func (*IdList) Reset

func (m *IdList) Reset()

func (*IdList) String

func (m *IdList) String() string

func (*IdList) XXX_DiscardUnknown

func (m *IdList) XXX_DiscardUnknown()

func (*IdList) XXX_Marshal

func (m *IdList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IdList) XXX_Merge

func (m *IdList) XXX_Merge(src proto.Message)

func (*IdList) XXX_Size

func (m *IdList) XXX_Size() int

func (*IdList) XXX_Unmarshal

func (m *IdList) XXX_Unmarshal(b []byte) error

type NotifyUser

type NotifyUser struct {
	UserId               string            `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Notification         *dataformat.Notif `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

NotifyUser maps notifications to users.

func (*NotifyUser) Descriptor

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

func (*NotifyUser) GetNotification

func (m *NotifyUser) GetNotification() *dataformat.Notif

func (*NotifyUser) GetUserId

func (m *NotifyUser) GetUserId() string

func (*NotifyUser) ProtoMessage

func (*NotifyUser) ProtoMessage()

func (*NotifyUser) Reset

func (m *NotifyUser) Reset()

func (*NotifyUser) String

func (m *NotifyUser) String() string

func (*NotifyUser) XXX_DiscardUnknown

func (m *NotifyUser) XXX_DiscardUnknown()

func (*NotifyUser) XXX_Marshal

func (m *NotifyUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NotifyUser) XXX_Merge

func (m *NotifyUser) XXX_Merge(src proto.Message)

func (*NotifyUser) XXX_Size

func (m *NotifyUser) XXX_Size() int

func (*NotifyUser) XXX_Unmarshal

func (m *NotifyUser) XXX_Unmarshal(b []byte) error

type SaveThreadRequest

type SaveThreadRequest struct {
	UserId               string          `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Thread               *context.Thread `protobuf:"bytes,2,opt,name=thread,proto3" json:"thread,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

SaveThreadRequest holds the id of the user which is saving the thread and the information about the thread to be saved.

func (*SaveThreadRequest) Descriptor

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

func (*SaveThreadRequest) GetThread

func (m *SaveThreadRequest) GetThread() *context.Thread

func (*SaveThreadRequest) GetUserId

func (m *SaveThreadRequest) GetUserId() string

func (*SaveThreadRequest) ProtoMessage

func (*SaveThreadRequest) ProtoMessage()

func (*SaveThreadRequest) Reset

func (m *SaveThreadRequest) Reset()

func (*SaveThreadRequest) String

func (m *SaveThreadRequest) String() string

func (*SaveThreadRequest) XXX_DiscardUnknown

func (m *SaveThreadRequest) XXX_DiscardUnknown()

func (*SaveThreadRequest) XXX_Marshal

func (m *SaveThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaveThreadRequest) XXX_Merge

func (m *SaveThreadRequest) XXX_Merge(src proto.Message)

func (*SaveThreadRequest) XXX_Size

func (m *SaveThreadRequest) XXX_Size() int

func (*SaveThreadRequest) XXX_Unmarshal

func (m *SaveThreadRequest) XXX_Unmarshal(b []byte) error

type SaveThreadResponse

type SaveThreadResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SaveThreadResponse) Descriptor

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

func (*SaveThreadResponse) ProtoMessage

func (*SaveThreadResponse) ProtoMessage()

func (*SaveThreadResponse) Reset

func (m *SaveThreadResponse) Reset()

func (*SaveThreadResponse) String

func (m *SaveThreadResponse) String() string

func (*SaveThreadResponse) XXX_DiscardUnknown

func (m *SaveThreadResponse) XXX_DiscardUnknown()

func (*SaveThreadResponse) XXX_Marshal

func (m *SaveThreadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaveThreadResponse) XXX_Merge

func (m *SaveThreadResponse) XXX_Merge(src proto.Message)

func (*SaveThreadResponse) XXX_Size

func (m *SaveThreadResponse) XXX_Size() int

func (*SaveThreadResponse) XXX_Unmarshal

func (m *SaveThreadResponse) XXX_Unmarshal(b []byte) error

type SavedPattern

type SavedPattern struct {
	Pattern []metadata.ContentStatus `protobuf:"varint,1,rep,packed,name=pattern,proto3,enum=metadata.ContentStatus" json:"pattern,omitempty"`
	// discard_ids is a map of section names mapped to content ids that must not be
	// returned back, since it's content the user has already seen.
	DiscardIds map[string]*IdList `` /* 179-byte string literal not displayed */
	// the user
	UserId               string   `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

SavedPattern holds an array of ContentStatus, composing up a pattern of content that's expected to get back. It is intended for recycling content in the context of a user viewing his saved threads.

func (*SavedPattern) Descriptor

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

func (*SavedPattern) GetDiscardIds

func (m *SavedPattern) GetDiscardIds() map[string]*IdList

func (*SavedPattern) GetPattern

func (m *SavedPattern) GetPattern() []metadata.ContentStatus

func (*SavedPattern) GetUserId

func (m *SavedPattern) GetUserId() string

func (*SavedPattern) ProtoMessage

func (*SavedPattern) ProtoMessage()

func (*SavedPattern) Reset

func (m *SavedPattern) Reset()

func (*SavedPattern) String

func (m *SavedPattern) String() string

func (*SavedPattern) XXX_DiscardUnknown

func (m *SavedPattern) XXX_DiscardUnknown()

func (*SavedPattern) XXX_Marshal

func (m *SavedPattern) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SavedPattern) XXX_Merge

func (m *SavedPattern) XXX_Merge(src proto.Message)

func (*SavedPattern) XXX_Size

func (m *SavedPattern) XXX_Size() int

func (*SavedPattern) XXX_Unmarshal

func (m *SavedPattern) XXX_Unmarshal(b []byte) error

type UndoSaveThreadRequest

type UndoSaveThreadRequest struct {
	UserId               string          `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Thread               *context.Thread `protobuf:"bytes,2,opt,name=thread,proto3" json:"thread,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

UndoSaveThreadRequest holds the id of the user which is unsaving the thread and the information about the thread to be removed from the user's saved thread list.

func (*UndoSaveThreadRequest) Descriptor

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

func (*UndoSaveThreadRequest) GetThread

func (m *UndoSaveThreadRequest) GetThread() *context.Thread

func (*UndoSaveThreadRequest) GetUserId

func (m *UndoSaveThreadRequest) GetUserId() string

func (*UndoSaveThreadRequest) ProtoMessage

func (*UndoSaveThreadRequest) ProtoMessage()

func (*UndoSaveThreadRequest) Reset

func (m *UndoSaveThreadRequest) Reset()

func (*UndoSaveThreadRequest) String

func (m *UndoSaveThreadRequest) String() string

func (*UndoSaveThreadRequest) XXX_DiscardUnknown

func (m *UndoSaveThreadRequest) XXX_DiscardUnknown()

func (*UndoSaveThreadRequest) XXX_Marshal

func (m *UndoSaveThreadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UndoSaveThreadRequest) XXX_Merge

func (m *UndoSaveThreadRequest) XXX_Merge(src proto.Message)

func (*UndoSaveThreadRequest) XXX_Size

func (m *UndoSaveThreadRequest) XXX_Size() int

func (*UndoSaveThreadRequest) XXX_Unmarshal

func (m *UndoSaveThreadRequest) XXX_Unmarshal(b []byte) error

type UndoSaveThreadResponse

type UndoSaveThreadResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UndoSaveThreadResponse) Descriptor

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

func (*UndoSaveThreadResponse) ProtoMessage

func (*UndoSaveThreadResponse) ProtoMessage()

func (*UndoSaveThreadResponse) Reset

func (m *UndoSaveThreadResponse) Reset()

func (*UndoSaveThreadResponse) String

func (m *UndoSaveThreadResponse) String() string

func (*UndoSaveThreadResponse) XXX_DiscardUnknown

func (m *UndoSaveThreadResponse) XXX_DiscardUnknown()

func (*UndoSaveThreadResponse) XXX_Marshal

func (m *UndoSaveThreadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UndoSaveThreadResponse) XXX_Merge

func (m *UndoSaveThreadResponse) XXX_Merge(src proto.Message)

func (*UndoSaveThreadResponse) XXX_Size

func (m *UndoSaveThreadResponse) XXX_Size() int

func (*UndoSaveThreadResponse) XXX_Unmarshal

func (m *UndoSaveThreadResponse) XXX_Unmarshal(b []byte) error

type UndoUpvoteRequest

type UndoUpvoteRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The upvote event occurs either in a thread, in a comment or in a subcomment.
	//
	// Types that are valid to be assigned to ContentContext:
	//	*UndoUpvoteRequest_ThreadCtx
	//	*UndoUpvoteRequest_CommentCtx
	//	*UndoUpvoteRequest_SubcommentCtx
	ContentContext       isUndoUpvoteRequest_ContentContext `protobuf_oneof:"content_context"`
	XXX_NoUnkeyedLiteral struct{}                           `json:"-"`
	XXX_unrecognized     []byte                             `json:"-"`
	XXX_sizecache        int32                              `json:"-"`
}

UndoUpvoteRequest holds information about the upvote undoing event.

func (*UndoUpvoteRequest) Descriptor

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

func (*UndoUpvoteRequest) GetCommentCtx

func (m *UndoUpvoteRequest) GetCommentCtx() *context.Comment

func (*UndoUpvoteRequest) GetContentContext

func (m *UndoUpvoteRequest) GetContentContext() isUndoUpvoteRequest_ContentContext

func (*UndoUpvoteRequest) GetSubcommentCtx

func (m *UndoUpvoteRequest) GetSubcommentCtx() *context.Subcomment

func (*UndoUpvoteRequest) GetThreadCtx

func (m *UndoUpvoteRequest) GetThreadCtx() *context.Thread

func (*UndoUpvoteRequest) GetUserId

func (m *UndoUpvoteRequest) GetUserId() string

func (*UndoUpvoteRequest) ProtoMessage

func (*UndoUpvoteRequest) ProtoMessage()

func (*UndoUpvoteRequest) Reset

func (m *UndoUpvoteRequest) Reset()

func (*UndoUpvoteRequest) String

func (m *UndoUpvoteRequest) String() string

func (*UndoUpvoteRequest) XXX_DiscardUnknown

func (m *UndoUpvoteRequest) XXX_DiscardUnknown()

func (*UndoUpvoteRequest) XXX_Marshal

func (m *UndoUpvoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UndoUpvoteRequest) XXX_Merge

func (m *UndoUpvoteRequest) XXX_Merge(src proto.Message)

func (*UndoUpvoteRequest) XXX_OneofWrappers

func (*UndoUpvoteRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*UndoUpvoteRequest) XXX_Size

func (m *UndoUpvoteRequest) XXX_Size() int

func (*UndoUpvoteRequest) XXX_Unmarshal

func (m *UndoUpvoteRequest) XXX_Unmarshal(b []byte) error

type UndoUpvoteRequest_CommentCtx

type UndoUpvoteRequest_CommentCtx struct {
	CommentCtx *context.Comment `protobuf:"bytes,3,opt,name=comment_ctx,json=commentCtx,proto3,oneof"`
}

type UndoUpvoteRequest_SubcommentCtx

type UndoUpvoteRequest_SubcommentCtx struct {
	SubcommentCtx *context.Subcomment `protobuf:"bytes,4,opt,name=subcomment_ctx,json=subcommentCtx,proto3,oneof"`
}

type UndoUpvoteRequest_ThreadCtx

type UndoUpvoteRequest_ThreadCtx struct {
	ThreadCtx *context.Thread `protobuf:"bytes,2,opt,name=thread_ctx,json=threadCtx,proto3,oneof"`
}

type UndoUpvoteResponse

type UndoUpvoteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UndoUpvoteResponse) Descriptor

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

func (*UndoUpvoteResponse) ProtoMessage

func (*UndoUpvoteResponse) ProtoMessage()

func (*UndoUpvoteResponse) Reset

func (m *UndoUpvoteResponse) Reset()

func (*UndoUpvoteResponse) String

func (m *UndoUpvoteResponse) String() string

func (*UndoUpvoteResponse) XXX_DiscardUnknown

func (m *UndoUpvoteResponse) XXX_DiscardUnknown()

func (*UndoUpvoteResponse) XXX_Marshal

func (m *UndoUpvoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UndoUpvoteResponse) XXX_Merge

func (m *UndoUpvoteResponse) XXX_Merge(src proto.Message)

func (*UndoUpvoteResponse) XXX_Size

func (m *UndoUpvoteResponse) XXX_Size() int

func (*UndoUpvoteResponse) XXX_Unmarshal

func (m *UndoUpvoteResponse) XXX_Unmarshal(b []byte) error

type UnimplementedCrudCheropatillaServer

type UnimplementedCrudCheropatillaServer struct {
}

UnimplementedCrudCheropatillaServer can be embedded to have forward compatible implementations.

func (*UnimplementedCrudCheropatillaServer) Comment

func (*UnimplementedCrudCheropatillaServer) CreateThread

func (*UnimplementedCrudCheropatillaServer) DeleteContent

func (*UnimplementedCrudCheropatillaServer) GetActivityOverview

func (*UnimplementedCrudCheropatillaServer) GetContentsByContext

func (*UnimplementedCrudCheropatillaServer) GetSubcomments

func (*UnimplementedCrudCheropatillaServer) GetThread

func (*UnimplementedCrudCheropatillaServer) GetThreadsOverview

func (*UnimplementedCrudCheropatillaServer) RecycleContent

func (*UnimplementedCrudCheropatillaServer) SaveThread

func (*UnimplementedCrudCheropatillaServer) UndoSaveThread

func (*UnimplementedCrudCheropatillaServer) UndoUpvote

func (*UnimplementedCrudCheropatillaServer) Upvote

type UnimplementedCrudGeneralServer

type UnimplementedCrudGeneralServer struct {
}

UnimplementedCrudGeneralServer can be embedded to have forward compatible implementations.

func (*UnimplementedCrudGeneralServer) RecycleActivity

func (*UnimplementedCrudGeneralServer) RecycleGeneral

func (*UnimplementedCrudGeneralServer) RecycleSaved

type UpvoteRequest

type UpvoteRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The upvote event occurs either in a thread, in a comment or in a subcomment.
	//
	// Types that are valid to be assigned to ContentContext:
	//	*UpvoteRequest_ThreadCtx
	//	*UpvoteRequest_CommentCtx
	//	*UpvoteRequest_SubcommentCtx
	ContentContext       isUpvoteRequest_ContentContext `protobuf_oneof:"content_context"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

UpvoteRequest holds information about the upvote event.

func (*UpvoteRequest) Descriptor

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

func (*UpvoteRequest) GetCommentCtx

func (m *UpvoteRequest) GetCommentCtx() *context.Comment

func (*UpvoteRequest) GetContentContext

func (m *UpvoteRequest) GetContentContext() isUpvoteRequest_ContentContext

func (*UpvoteRequest) GetSubcommentCtx

func (m *UpvoteRequest) GetSubcommentCtx() *context.Subcomment

func (*UpvoteRequest) GetThreadCtx

func (m *UpvoteRequest) GetThreadCtx() *context.Thread

func (*UpvoteRequest) GetUserId

func (m *UpvoteRequest) GetUserId() string

func (*UpvoteRequest) ProtoMessage

func (*UpvoteRequest) ProtoMessage()

func (*UpvoteRequest) Reset

func (m *UpvoteRequest) Reset()

func (*UpvoteRequest) String

func (m *UpvoteRequest) String() string

func (*UpvoteRequest) XXX_DiscardUnknown

func (m *UpvoteRequest) XXX_DiscardUnknown()

func (*UpvoteRequest) XXX_Marshal

func (m *UpvoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpvoteRequest) XXX_Merge

func (m *UpvoteRequest) XXX_Merge(src proto.Message)

func (*UpvoteRequest) XXX_OneofWrappers

func (*UpvoteRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*UpvoteRequest) XXX_Size

func (m *UpvoteRequest) XXX_Size() int

func (*UpvoteRequest) XXX_Unmarshal

func (m *UpvoteRequest) XXX_Unmarshal(b []byte) error

type UpvoteRequest_CommentCtx

type UpvoteRequest_CommentCtx struct {
	CommentCtx *context.Comment `protobuf:"bytes,3,opt,name=comment_ctx,json=commentCtx,proto3,oneof"`
}

type UpvoteRequest_SubcommentCtx

type UpvoteRequest_SubcommentCtx struct {
	SubcommentCtx *context.Subcomment `protobuf:"bytes,4,opt,name=subcomment_ctx,json=subcommentCtx,proto3,oneof"`
}

type UpvoteRequest_ThreadCtx

type UpvoteRequest_ThreadCtx struct {
	ThreadCtx *context.Thread `protobuf:"bytes,2,opt,name=thread_ctx,json=threadCtx,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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