src

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: GPL-3.0 Imports: 18 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

This section is empty.

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
art
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.
artfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
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 contains utilities aimed to helping with the long-term running of the application.
Package daemon contains utilities aimed to helping with the long-term running of the application.
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.
libraryfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Package scaler provides utilities for scaling images.
Package scaler provides utilities for scaling images.
scalerfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Package version provides version information and utilities.
Package version provides version information and utilities.
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