Documentation ¶
Index ¶
- type Indexer
- func (ix *Indexer) DidForUser(ctx context.Context, uid uint) (string, error)
- func (ix *Indexer) GetPost(ctx context.Context, uri string) (*types.FeedPost, error)
- func (ix *Indexer) HandleRepoEvent(ctx context.Context, evt *repomgr.RepoEvent) error
- func (ix *Indexer) LookupUserByDid(ctx context.Context, did string) (*types.ActorInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Indexer ¶
type Indexer struct { SendRemoteFollow func(context.Context, string, uint) error CreateExternalUser func(context.Context, string) (*types.ActorInfo, error) // contains filtered or unexported fields }
func NewIndexer ¶
func NewIndexer(db *gorm.DB, notifman *notifs.NotificationManager, evtman *events.EventManager, didr plc.PLCClient) (*Indexer, error)
func (*Indexer) DidForUser ¶
func (*Indexer) HandleRepoEvent ¶
Click to show internal directories.
Click to hide internal directories.