Go to file
2024-06-22 03:32:10 +04:00
.github fix(ci): Disable cache for setup-node github action 2024-06-20 14:16:57 +04:00
cmd/error-pages wip: 🔕 temporary commit 2024-06-21 17:13:27 +04:00
internal wip: 🔕 temporary commit 2024-06-22 03:32:10 +04:00
l10n Fix spanish translated tags (#237) 2023-10-10 15:10:11 +04:00
schemas Go templates support, XML, JSON, Ingress (#49) 2022-01-27 17:29:49 +05:00
templates wip: 🔕 temporary commit 2024-06-22 03:32:10 +04:00
.dockerignore chore: 🔧 Changes that do not modify src or test files 2023-02-23 21:50:35 +04:00
.editorconfig chore(docker): The docker env re-written 2024-06-20 23:09:32 +04:00
.gitignore wip: 🔕 temporary commit 2024-06-21 17:13:27 +04:00
.golangci.yml wip: 🔕 temporary commit 2024-06-21 17:13:27 +04:00
CHANGELOG.md build(deps): bump golangci/golangci-lint-action from 3 to 4 (#268) 2024-03-16 16:46:45 +00:00
docker-compose.yml chore(docker): The docker env re-written 2024-06-20 23:09:32 +04:00
Dockerfile wip: 🔕 temporary commit 2024-06-21 17:13:27 +04:00
error-pages.yml New template orient added (#190) 2023-04-17 15:06:28 +04:00
go.mod wip: 🔕 temporary commit 2024-06-21 17:13:27 +04:00
go.sum wip: 🔕 temporary commit 2024-06-21 17:13:27 +04:00
LICENSE Basic repo files added 2020-07-08 16:12:21 +05:00
Makefile wip: 🔕 temporary commit 2024-06-21 17:13:27 +04:00
README.md wip: 🔕 temporary commit 2024-06-22 03:32:10 +04:00

CLI interface

Usage:

$ error-pages [GLOBAL FLAGS] [COMMAND] [COMMAND FLAGS] [ARGUMENTS...]

Global flags:

Name Description Default value Environment variables
--log-level="…" logging level (debug/info/warn/error/fatal) info LOG_LEVEL
--log-format="…" logging format (console/json) console LOG_FORMAT

serve command (aliases: s, server, http)

Start HTTP server.

Usage:

$ error-pages [GLOBAL FLAGS] serve [COMMAND FLAGS] [ARGUMENTS...]

The following flags are supported:

Name Description Default value Environment variables
--port="…" (-p) TCP port number 8080 LISTEN_PORT
--listen="…" (-l) IP (v4 or v6) address to listen on 0.0.0.0 LISTEN_ADDR
--add-template="…" to add a new template, provide the path to the file here (may be specified multiple times; the filename without the extension will be used as the template name) [] none

healthcheck command (aliases: chk, health, check)

Health checker for the HTTP server. The use case - docker health check.

Usage:

$ error-pages [GLOBAL FLAGS] healthcheck [COMMAND FLAGS] [ARGUMENTS...]

The following flags are supported:

Name Description Default value Environment variables
--port="…" (-p) TCP port number 8080 LISTEN_PORT