Documentation ¶
Index ¶
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)
- func (m *Comment) GetId() string
- func (m *Comment) GetThreadCtx() *Thread
- func (*Comment) ProtoMessage()
- func (m *Comment) Reset()
- func (m *Comment) String() string
- func (m *Comment) XXX_DiscardUnknown()
- func (m *Comment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Comment) XXX_Merge(src proto.Message)
- func (m *Comment) XXX_Size() int
- func (m *Comment) XXX_Unmarshal(b []byte) error
- type Context
- func (*Context) Descriptor() ([]byte, []int)
- func (m *Context) GetCommentCtx() *Comment
- func (m *Context) GetCtx() isContext_Ctx
- func (m *Context) GetSectionCtx() *Section
- func (m *Context) GetSectionId() string
- func (m *Context) GetSubcommentCtx() *Subcomment
- func (m *Context) GetThreadCtx() *Thread
- func (*Context) ProtoMessage()
- func (m *Context) Reset()
- func (m *Context) String() string
- func (m *Context) XXX_DiscardUnknown()
- func (m *Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Context) XXX_Merge(src proto.Message)
- func (*Context) XXX_OneofWrappers() []interface{}
- func (m *Context) XXX_Size() int
- func (m *Context) XXX_Unmarshal(b []byte) error
- type Context_CommentCtx
- type Context_SectionCtx
- type Context_SubcommentCtx
- type Context_ThreadCtx
- type Section
- func (*Section) Descriptor() ([]byte, []int)
- func (m *Section) GetId() string
- func (*Section) ProtoMessage()
- func (m *Section) Reset()
- func (m *Section) String() string
- func (m *Section) XXX_DiscardUnknown()
- func (m *Section) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Section) XXX_Merge(src proto.Message)
- func (m *Section) XXX_Size() int
- func (m *Section) XXX_Unmarshal(b []byte) error
- type Subcomment
- func (*Subcomment) Descriptor() ([]byte, []int)
- func (m *Subcomment) GetCommentCtx() *Comment
- func (m *Subcomment) GetId() string
- func (*Subcomment) ProtoMessage()
- func (m *Subcomment) Reset()
- func (m *Subcomment) String() string
- func (m *Subcomment) XXX_DiscardUnknown()
- func (m *Subcomment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Subcomment) XXX_Merge(src proto.Message)
- func (m *Subcomment) XXX_Size() int
- func (m *Subcomment) XXX_Unmarshal(b []byte) error
- type Thread
- func (*Thread) Descriptor() ([]byte, []int)
- func (m *Thread) GetId() string
- func (m *Thread) GetSectionCtx() *Section
- func (*Thread) ProtoMessage()
- func (m *Thread) Reset()
- func (m *Thread) String() string
- func (m *Thread) XXX_DiscardUnknown()
- func (m *Thread) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Thread) XXX_Merge(src proto.Message)
- func (m *Thread) XXX_Size() int
- func (m *Thread) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comment ¶
type Comment struct { ThreadCtx *Thread `protobuf:"bytes,1,opt,name=thread_ctx,json=threadCtx,proto3" json:"thread_ctx,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A Comment is inside of a thread and has a comment identifier unique to that thread.
func (*Comment) Descriptor ¶
func (*Comment) GetThreadCtx ¶
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) XXX_DiscardUnknown ¶
func (m *Comment) XXX_DiscardUnknown()
func (*Comment) XXX_Marshal ¶
func (*Comment) XXX_Unmarshal ¶
type Context ¶
type Context struct { // Types that are valid to be assigned to Ctx: // *Context_SectionCtx // *Context_ThreadCtx // *Context_CommentCtx // *Context_SubcommentCtx Ctx isContext_Ctx `protobuf_oneof:"ctx"` SectionId string `protobuf:"bytes,5,opt,name=section_id,json=sectionId,proto3" json:"section_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Context) Descriptor ¶
func (*Context) GetCommentCtx ¶
func (*Context) GetSectionCtx ¶
func (*Context) GetSectionId ¶
func (*Context) GetSubcommentCtx ¶
func (m *Context) GetSubcommentCtx() *Subcomment
func (*Context) GetThreadCtx ¶
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
func (*Context) XXX_DiscardUnknown ¶
func (m *Context) XXX_DiscardUnknown()
func (*Context) XXX_Marshal ¶
func (*Context) XXX_OneofWrappers ¶
func (*Context) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Context) XXX_Unmarshal ¶
type Context_CommentCtx ¶
type Context_CommentCtx struct {
CommentCtx *Comment `protobuf:"bytes,3,opt,name=comment_ctx,json=commentCtx,proto3,oneof"`
}
type Context_SectionCtx ¶
type Context_SectionCtx struct {
SectionCtx *Section `protobuf:"bytes,1,opt,name=section_ctx,json=sectionCtx,proto3,oneof"`
}
type Context_SubcommentCtx ¶
type Context_SubcommentCtx struct {
SubcommentCtx *Subcomment `protobuf:"bytes,4,opt,name=subcomment_ctx,json=subcommentCtx,proto3,oneof"`
}
type Context_ThreadCtx ¶
type Context_ThreadCtx struct {
ThreadCtx *Thread `protobuf:"bytes,2,opt,name=thread_ctx,json=threadCtx,proto3,oneof"`
}
type Section ¶
type Section struct { Id string `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A Section is the highest level and just has the name of the section.
func (*Section) Descriptor ¶
func (*Section) ProtoMessage ¶
func (*Section) ProtoMessage()
func (*Section) XXX_DiscardUnknown ¶
func (m *Section) XXX_DiscardUnknown()
func (*Section) XXX_Marshal ¶
func (*Section) XXX_Unmarshal ¶
type Subcomment ¶
type Subcomment struct { CommentCtx *Comment `protobuf:"bytes,1,opt,name=comment_ctx,json=commentCtx,proto3" json:"comment_ctx,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A Subcomment is inside of a comment and has a subcomment identifier unique to that comment.
func (*Subcomment) Descriptor ¶
func (*Subcomment) Descriptor() ([]byte, []int)
func (*Subcomment) GetCommentCtx ¶
func (m *Subcomment) GetCommentCtx() *Comment
func (*Subcomment) GetId ¶
func (m *Subcomment) GetId() string
func (*Subcomment) ProtoMessage ¶
func (*Subcomment) ProtoMessage()
func (*Subcomment) Reset ¶
func (m *Subcomment) Reset()
func (*Subcomment) String ¶
func (m *Subcomment) String() string
func (*Subcomment) XXX_DiscardUnknown ¶
func (m *Subcomment) XXX_DiscardUnknown()
func (*Subcomment) XXX_Marshal ¶
func (m *Subcomment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Subcomment) XXX_Merge ¶
func (m *Subcomment) XXX_Merge(src proto.Message)
func (*Subcomment) XXX_Size ¶
func (m *Subcomment) XXX_Size() int
func (*Subcomment) XXX_Unmarshal ¶
func (m *Subcomment) XXX_Unmarshal(b []byte) error
type Thread ¶
type Thread struct { SectionCtx *Section `protobuf:"bytes,1,opt,name=section_ctx,json=sectionCtx,proto3" json:"section_ctx,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A Thread is inside of a section and has a thread identifier unique to that section.
func (*Thread) Descriptor ¶
func (*Thread) GetSectionCtx ¶
func (*Thread) ProtoMessage ¶
func (*Thread) ProtoMessage()
func (*Thread) XXX_DiscardUnknown ¶
func (m *Thread) XXX_DiscardUnknown()
func (*Thread) XXX_Marshal ¶
func (*Thread) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.