mirror of
https://github.com/aykhans/bsky-feedgen.git
synced 2025-07-17 21:34:00 +00:00
🦋
This commit is contained in:
13
pkg/feed/base.go
Normal file
13
pkg/feed/base.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user