webapi

command
v0.0.0-...-1967991 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Overview

Webapi is the executable for the main web server. It builds a web server around APIs from `service/api`. Webapi connects to external resources needed (database) and starts two web servers: the API web server, and the debug. Everything is served via the API web server, except debug variables (/debug/vars) and profiler infos (pprof).

Usage:

webapi [flags]

Flags and configurations are handled automatically by the code in `load-configuration.go`.

Return values (exit codes):

0
	The program ended successfully (no errors, stopped by signal)

> 0
	The program ended due to an error

Note that this program will update the schema of the database to the latest version available (embedded in the executable during the build).

Jump to

Keyboard shortcuts

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