forumimpl

package
v1.11.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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