Documentation ¶
Index ¶
- type BackgroundRunner
- func (b *BackgroundRunner) AddFolder(ctx context.Context, folderName string, d discogs.Discogs, u *pb.StoredUser) error
- func (b *BackgroundRunner) AdjustSales(ctx context.Context, c *pb.SaleConfig, user *pb.StoredUser, ...) error
- func (b *BackgroundRunner) CleanCollection(ctx context.Context, d discogs.Discogs, refreshId int64) error
- func (b *BackgroundRunner) HardLink(ctx context.Context, user *pb.StoredUser, records []*pb.Record, ...) error
- func (b *BackgroundRunner) LinkSales(ctx context.Context, user *pb.StoredUser) error
- func (b *BackgroundRunner) ProcessArrived(ctx context.Context, d discogs.Discogs, r *pb.Record, i *pb.Intent, ...) error
- func (b *BackgroundRunner) ProcessCollectionPage(ctx context.Context, d discogs.Discogs, page int32, refreshId int64) (int32, error)
- func (b *BackgroundRunner) ProcessGoalFolder(ctx context.Context, d discogs.Discogs, r *pb.Record, i *pb.Intent, ...) error
- func (b *BackgroundRunner) ProcessIntents(ctx context.Context, d discogs.Discogs, r *pb.Record, i *pb.Intent, ...) error
- func (b *BackgroundRunner) ProcessKeep(ctx context.Context, d discogs.Discogs, r *pb.Record, i *pb.Intent, ...) error
- func (b *BackgroundRunner) ProcessListenDate(ctx context.Context, d discogs.Discogs, r *pb.Record, i *pb.Intent, ...) error
- func (b *BackgroundRunner) ProcessSetClean(ctx context.Context, d discogs.Discogs, r *pb.Record, i *pb.Intent, ...) error
- func (b *BackgroundRunner) ProcessSetWeight(ctx context.Context, d discogs.Discogs, r *pb.Record, i *pb.Intent, ...) error
- func (b *BackgroundRunner) ProcessSetWidth(ctx context.Context, d discogs.Discogs, r *pb.Record, i *pb.Intent, ...) error
- func (b *BackgroundRunner) ProcessSleeve(ctx context.Context, d discogs.Discogs, r *pb.Record, i *pb.Intent, ...) error
- func (b *BackgroundRunner) RefereshWants(ctx context.Context, d discogs.Discogs) error
- func (b *BackgroundRunner) RefreshUpdates(ctx context.Context, d discogs.Discogs) error
- func (b *BackgroundRunner) RefreshUser(ctx context.Context, d discogs.Discogs, utoken string) error
- func (b *BackgroundRunner) RefreshWantlists(ctx context.Context, di discogs.Discogs, auth string) error
- func (b *BackgroundRunner) RunMoves(ctx context.Context, user *pb.StoredUser, ...) error
- func (b *BackgroundRunner) SyncSales(ctx context.Context, d discogs.Discogs, page int32, id int64) (*pbd.Pagination, error)
- func (b *BackgroundRunner) UpdateSalePrice(ctx context.Context, d discogs.Discogs, sid int64, newprice int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackgroundRunner ¶
type BackgroundRunner struct {
// contains filtered or unexported fields
}
func GetBackgroundRunner ¶ added in v0.67.0
func GetBackgroundRunner(db db.Database, key, secret, callback string) *BackgroundRunner
func (*BackgroundRunner) AddFolder ¶ added in v0.297.0
func (b *BackgroundRunner) AddFolder(ctx context.Context, folderName string, d discogs.Discogs, u *pb.StoredUser) error
func (*BackgroundRunner) AdjustSales ¶ added in v0.317.0
func (b *BackgroundRunner) AdjustSales(ctx context.Context, c *pb.SaleConfig, user *pb.StoredUser, enqueue func(context.Context, *pb.EnqueueRequest) (*pb.EnqueueResponse, error)) error
func (*BackgroundRunner) CleanCollection ¶ added in v0.249.0
func (*BackgroundRunner) HardLink ¶ added in v0.300.0
func (b *BackgroundRunner) HardLink(ctx context.Context, user *pb.StoredUser, records []*pb.Record, sales []*pb.SaleInfo) error
func (*BackgroundRunner) LinkSales ¶ added in v0.300.0
func (b *BackgroundRunner) LinkSales(ctx context.Context, user *pb.StoredUser) error
func (*BackgroundRunner) ProcessArrived ¶ added in v0.276.0
func (*BackgroundRunner) ProcessCollectionPage ¶ added in v0.67.0
func (*BackgroundRunner) ProcessGoalFolder ¶ added in v0.252.0
func (*BackgroundRunner) ProcessIntents ¶ added in v0.119.0
func (*BackgroundRunner) ProcessKeep ¶ added in v0.297.0
func (*BackgroundRunner) ProcessListenDate ¶ added in v0.191.0
func (*BackgroundRunner) ProcessSetClean ¶ added in v0.119.0
func (*BackgroundRunner) ProcessSetWeight ¶ added in v0.241.0
func (*BackgroundRunner) ProcessSetWidth ¶ added in v0.215.0
func (*BackgroundRunner) ProcessSleeve ¶ added in v0.274.0
func (*BackgroundRunner) RefereshWants ¶ added in v0.304.0
func (*BackgroundRunner) RefreshUpdates ¶ added in v0.273.0
func (*BackgroundRunner) RefreshUser ¶
func (*BackgroundRunner) RefreshWantlists ¶ added in v0.304.0
func (*BackgroundRunner) RunMoves ¶ added in v0.318.0
func (b *BackgroundRunner) RunMoves(ctx context.Context, user *pb.StoredUser, enqueue func(context.Context, *pb.EnqueueRequest) (*pb.EnqueueResponse, error)) error
func (*BackgroundRunner) SyncSales ¶ added in v0.300.0
func (b *BackgroundRunner) SyncSales(ctx context.Context, d discogs.Discogs, page int32, id int64) (*pbd.Pagination, error)
func (*BackgroundRunner) UpdateSalePrice ¶ added in v0.317.0
Click to show internal directories.
Click to hide internal directories.