This commit is contained in:
2025-05-19 01:49:56 +04:00
commit e6fec752f9
52 changed files with 4337 additions and 0 deletions

13
pkg/feed/base.go Normal file
View File

@@ -0,0 +1,13 @@
package feed
import (
"context"
"github.com/bluesky-social/indigo/api/bsky"
)
type Feed interface {
GetPage(ctx context.Context, userDID string, limit int64, cursor string) (feedPosts []*bsky.FeedDefs_SkeletonFeedPost, newCursor *string, err error)
GetName(ctx context.Context) string
Describe(ctx context.Context) bsky.FeedDescribeFeedGenerator_Feed
}