healthserver

command module
v0.0.0-...-7768728 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

README

healthserver

Stand alone health server for linux or windows, reporting http status 200 when url path /health is called. Works with load balancer health check such as AWS ELB target group health checks.

deploy

server.yaml file must be deployed together with the binary in the same root folder. yaml file name should be server.yaml, unless name is changed within init code.

reconfigure

web server changes can be done via edit of server.yaml settings

install service on linux or windows

for linux, using systemd service configuration, and sudo systemctl start xyz.service method (details see /common project's /systemd wrapper comments) for windows, using sc.exec command, for example "c:\sc.exe create xyzService binpath= c:\xyzFolder\xyz.exe type= own start= auto"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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