Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawForumContent ¶
type RawForumContent struct { weaver.AutoMarshal Id uint64 CreatorId uint64 CreatedAt int64 Text string }
func (*RawForumContent) WeaverMarshal ¶
func (x *RawForumContent) WeaverMarshal(enc *codegen.Encoder)
func (*RawForumContent) WeaverUnmarshal ¶
func (x *RawForumContent) WeaverUnmarshal(dec *codegen.Decoder)
type RemoteForumService ¶
type RemoteForumService interface { CreateThread(ctx context.Context, objectId uint64, userId uint64, title string, message string) (uint64, error) CreateMessage(ctx context.Context, objectId uint64, userId uint64, threadId uint64, message string) error GetThread(ctx context.Context, objectId uint64, threadId uint64, start uint64, end uint64, filter string) (uint64, RawForumContent, []RawForumContent, error) GetThreads(ctx context.Context, objectId uint64, start uint64, end uint64, filter string) (uint64, []RawForumContent, error) DeleteThread(ctx context.Context, containerId uint64, id uint64) error DeleteMessage(ctx context.Context, containerId uint64, id uint64) error }
Click to show internal directories.
Click to hide internal directories.