Versions in this module Expand all Collapse all v0 v0.1.1 Jan 27, 2024 Changes in this version + type Hasher struct + func NewHasher(hasher hash.Hash) *Hasher + func (uc *Hasher) Hash(val string) *dtos.HashGetter + type URL struct + func NewURL(repo interfaces.URLRepo, hash interfaces.Hash, opts ...URLOpt) *URL + func (uc *URL) GetFullURL(ctx context.Context, hash string) (string, error) + func (uc *URL) GetHash(ctx context.Context, fullURL string) (string, error) + type URLOpt func(*URL) + func WithCache(cache interfaces.Cache[string, string]) URLOpt + func WithLogger(logger interfaces.Logger) URLOpt