golang-url-shortener
module v0.0.0-...-6eca257
Go to latest Published: Jul 2, 2020 License:MIT
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Details
Valid go.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
README¶
Golang URL Shortener
Main Features
- URL Shortening
- Visitor Counting
- Expirable Links
- URL deletion
- Multiple authorization strategies:
- Local authorization via OAuth 2.0 (Google, GitHub, Microsoft, and Okta)
- Proxy authorization for running behind e.g.Google IAP
- EasyShareX integration
- Dockerizable
- Multiple supported storage backends
Webinterface


Documentation
Why did you built this
Only because I just want to extend my current self hosted URL shorter (which was really messy code) with some more features and learn about new techniques like:
- Golang unit testing
- React
- Makefiles
- Travis CI
- Key / Value databases
- Dockerfile and Docker Image Creation
Directories¶
| Path | Synopsis |
|---|---|
cmd | |
golang-url-shortenercommand | |
internal | |
handlers Package handlers provides the http functionality for the URL Shortener | Package handlers provides the http functionality for the URL Shortener |
stores Package stores provides support to interact with the entries | Package stores provides support to interact with the entries |
Click to show internal directories.
Click to hide internal directories.