Documentation ¶
Index ¶
- type Storage
- func (strg *Storage) Close() error
- func (strg *Storage) Delete(_ context.Context, user *uuid.UUID, ids []string)
- func (strg *Storage) GetUserStorage(ctx context.Context, user *uuid.UUID, _ string) (map[string]string, error)
- func (strg *Storage) Ping(ctx context.Context) error
- func (strg *Storage) Restore(ctx context.Context, shortURL string) (link string, err error)
- func (strg *Storage) Statistics(ctx context.Context) (*models.Statistic, error)
- func (strg *Storage) Store(ctx context.Context, user *uuid.UUID, longURL string) (id string, err error)
- func (strg *Storage) StoreBatch(ctx context.Context, user *uuid.UUID, batchIn models.BatchList, defURL string) (models.BatchList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.