Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachedOutputRepo ¶
type Repository ¶
type Repository interface {
CachedOutputRepo() CachedOutputRepo
ReservationRepo() ReservationRepo
}
type ReservationRepo ¶
type ReservationRepo interface {
Get(ctx context.Context, key string) (*models.Reservation, error)
Create(ctx context.Context, reservation *models.Reservation) error
UpdateIfExpiredOrOwned(ctx context.Context, reservation *models.Reservation, now time.Time) error
DeleteByKeyAndOwner(ctx context.Context, key, ownerID string) error
}
Click to show internal directories.
Click to hide internal directories.