//
pkg.gl
Category
github.com/wurt83ow/tinyurl
internal
worker
package
0.0.0-20240528123408-96b4dbef904e
Repository:
https://github.com/wurt83ow/tinyurl.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
1
Files
84 SLOC
#
Functions
NewWorker
NewWorker creates a new Worker instance with the provided logger and storage.
#
Interfaces
Log
Log is an interface representing a logger with Warn and Info methods.
Storage
Storage is an interface representing a data storage with a method to delete URLs.
Worker
Worker is an interface representing a background worker for deleting URLs.