webapi

command
v0.0.0-...-f464bf3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

This API allows using WASA Photo with a variety of functionalities like image upload, user profile photos, stream and information etc. 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