Skip to content
rhdh-parasolPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

36 Commits

Folders and files

Repository files navigation

go-hello

Playground copy for rhdh-parasol, sourced from fullsend-playground.

A simple Go HTTP service with health check and greeting endpoints.

Endpoints

Method Path Description
GET /health Returns service health status
GET /greet?name=X Returns a greeting (defaults to "World")

Development

# Run locally
make run

# Run tests
make test

# Build binary
make build

# Lint
make lint

Environment Variables

Variable Default Description
PORT 8080 HTTP listen port
APP_VERSION 0.1.0 Reported in health endpoint

Docker

docker build -t go-hello .
docker run -p 8080:8080 go-hello

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages