authorlabel

package
v0.0.0-...-524d49d Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feed

type Feed struct {
	FeedActorDID string
	Store        *store.Store
	Labels       map[string]LabelFeed
}

func NewFeed

func NewFeed(ctx context.Context, feedActorDID string, store *store.Store) (*Feed, []string, error)

func (*Feed) Describe

func (*Feed) GetMPLSPage

func (f *Feed) GetMPLSPage(ctx context.Context, userDID string, limit int64, cursor string) ([]*appbsky.FeedDefs_SkeletonFeedPost, *string, error)

func (*Feed) GetPage

func (f *Feed) GetPage(ctx context.Context, feed string, userDID string, limit int64, cursor string) ([]*appbsky.FeedDefs_SkeletonFeedPost, *string, error)

func (*Feed) GetTQSPPage

func (f *Feed) GetTQSPPage(ctx context.Context, userDID string, limit int64, cursor string) ([]*appbsky.FeedDefs_SkeletonFeedPost, *string, error)

type LabelFeed

type LabelFeed struct {
	Label   string
	Private bool
	GetPage func(ctx context.Context, userDID string, limit int64, cursor string) ([]*appbsky.FeedDefs_SkeletonFeedPost, *string, error)
}

type NotFoundError

type NotFoundError struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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