Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWaitForRemoteAggregate = fmt.Errorf("waiting for remote content aggregation")
View Source
var ErrZoneCouldNotBeClaimed = fmt.Errorf("zone could not be claimed")
Functions ¶
This section is empty.
Types ¶
type IManager ¶
type IManager interface {
CreateAggregate(ctx context.Context, conts []util.Content) (ipld.Node, error)
AggregateStagingZone(ctx context.Context, zone *model.StagingZone, zoneCont *util.Content, loc string) error
GetStagingZoneContents(ctx context.Context, user uint, zoneID uint, limit int, offset int) ([]util.Content, error)
GetStagingZoneWithoutContents(ctx context.Context, userID uint, zoneID uint) (*model.StagingZone, error)
GetStagingZonesForUser(ctx context.Context, userID uint, limit int, offset int) ([]*model.StagingZone, error)
}
Click to show internal directories.
Click to hide internal directories.