package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Dec 28, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DB contains database data.
Close closes the underlying database connection.
Delete removes a URL by shortID.
Get retrieves a URL by shortID.
Init initializes the database.
Stats returns database stats.
Store stores a URL, and returns a shortID.
type Stats struct {
Count int
}
Stats contains database statistics.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.