internal

package
v0.0.0-...-5ec3ce4 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package internal implements the HTTP authentication server that is designed to interact with the NGINX Mail Proxy module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintVersion

func PrintVersion()

PrintVersion prints the version of the application, the Go version it was built with and a list of every external dependency it was built with.

func Run

func Run(configPath string, prod bool) *http.Server

Run takes a file system path to a config file and a bool to activate prod or dev mode to initialize the application. If prod is true, the server will connect to the database specified in the config file. Otherwise it will connect to a test database, either running on localhost or in the CI pipeline.

Types

This section is empty.

Jump to

Keyboard shortcuts

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