snipr

command module
v0.0.0-...-f217533 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

README

Snipr

URL Shortener

Go Report Card GitHub issues GitHub stars

This is a simple URL shortening service.

Features:

  • Modular and Low Coupling: The application is designed with a modular architecture, making it easy to replace any of the components (e.g., storage, caching) with your own implementation.
  • Individually Testable Packages: Each package in the application is designed to be independently testable, ensuring better maintainability and reliability.
  • SHA-256 Hash for URL Shortening: Snipr uses the SHA-256 hashing algorithm to generate short URLs, providing a secure and efficient URL shortening mechanism. Customizable: Snipr allows you to customize various aspects of the URL shortening service, such as the domain, URL format, and more.

Getting Started:

To get started with Snipr, follow these steps:

using current config it starts up service and postgres containers. There is redis storage interface implemented as well which can be drop in replacement for postgres storage. Although reporting is not yet implemented for redis I will come around to implement a complete drop in replacement redis available.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
shorten
Package shorten is a generated GoMock package.
Package shorten is a generated GoMock package.
Package storage is a generated GoMock package.
Package storage is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL