Documentation ¶
Index ¶
- type Storage
- func (s *Storage) GetSpreadsByIDs(ctx context.Context, spreadIDs []model.SpreadIdentifier) ([]model.SpreadWithLink, error)
- func (s *Storage) SaveSpreads(ctx context.Context, spreads []model.Spread) ([]model.Spread, error)
- func (s *Storage) SearchSpreads(ctx context.Context, filter model.SpreadsFilter, offset, limit int64) ([]model.Spread, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func (*Storage) GetSpreadsByIDs ¶
func (s *Storage) GetSpreadsByIDs( ctx context.Context, spreadIDs []model.SpreadIdentifier, ) ([]model.SpreadWithLink, error)
func (*Storage) SaveSpreads ¶
Click to show internal directories.
Click to hide internal directories.