src

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Overview

Package src contains the de-facto main function of the application. It should set everything up, create a library and create a webserver.

At the moment it is in package src because I import it from the project's root folder. This way the source is in the `src/` directory.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev-unreleased"

Version stores the current verion of HTTPMS. It is set during building.

Functions

func Main

func Main(httpRootFS, htmlTemplatesFS, sqlFilesFS fs.FS)

Main is the only thing run in the project's root main.go file. For all intent and purposes this is the main function.

Types

This section is empty.

Directories

Path Synopsis
Package art is responsible for getting cover art for albums or artist images over the internet.
Package art is responsible for getting cover art for albums or artist images over the internet.
Package config is resposible for finding, parsing and merging the HTTPMS user configuration with the default.
Package config is resposible for finding, parsing and merging the HTTPMS user configuration with the default.
Package daemon is resposible for making sure HTTPMS will run smoothly even after the calling terminal has been closed.
Package daemon is resposible for making sure HTTPMS will run smoothly even after the calling terminal has been closed.
Package helpers contains few helpers functions which are used throughout the project
Package helpers contains few helpers functions which are used throughout the project
Package library deals with the actual media library.
Package library deals with the actual media library.
Package scaler provides utilities for scaling images.
Package scaler provides utilities for scaling images.
Package webserver contains the webserver which deals with processing requests from the user, presenting him with the interface of the application.
Package webserver contains the webserver which deals with processing requests from the user, presenting him with the interface of the application.

Jump to

Keyboard shortcuts

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