package
0.0.0-20200702132457-6eca2572c884
Repository: https://github.com/mxschmitt/golang-url-shortener.git
Documentation: pkg.go.dev

# Functions

CheckForPrivateKey checks if already an private key exists, if not it will be randomly generated and saved as a private.dat file in the data directory.
GetConfig returns the configuration from the memory.
GetPrivateKey returns the private key.
ReadInConfig loads the Configuration and other needed folders for further usage.
SetConfig sets the configuration into the memory.

# Variables

Config contains the default values.
VersionInfo are the information which will be added at build time and shown in the frontend under the about tab.

# Structs

Configuration are the available config values.
Info holds the information which will be added at build time.