Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawWikiContent ¶
type RawWikiContent struct { weaver.AutoMarshal Version uint64 CreatorId uint64 CreatedAt int64 Markdown string }
func (*RawWikiContent) WeaverMarshal ¶
func (x *RawWikiContent) WeaverMarshal(enc *codegen.Encoder)
func (*RawWikiContent) WeaverUnmarshal ¶
func (x *RawWikiContent) WeaverUnmarshal(dec *codegen.Decoder)
type RemoteWikiService ¶
type RemoteWikiService interface { Load(ctx context.Context, wikiId uint64, wikiRef string, version uint64) (RawWikiContent, error) Store(ctx context.Context, wikiId uint64, userId uint64, wikiRef string, last uint64, markdown string) error GetVersions(ctx context.Context, wikiId uint64, wikiRef string) ([]RawWikiContent, error) Delete(ctx context.Context, wikiId uint64, wikiRef string, version uint64) error }
Click to show internal directories.
Click to hide internal directories.