Skip to content

nicolaiort/kusatoko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kusatoko

GitHub License GitHub top language GitHub commit activity GHCR Downloads GHCR Image Size

A simple go server for testing connection stuff.

Run

With docker

docker pull ghcr.io/nicolaiort/kusatoko
docker run -p 8080:8080 ghcr.io/nicolaiort/kusatoko

With go for dev 🛠️

go run main.go

Endpoints

Endpoint Description
/ Returns a simple text message
/healthz Returns ok
/whatsmyip Returns the requesting client's IP
/headers Returns all request headers
/status/{code} Returns the status code provided via {code} and it's associated message

Config

ENV-Var Default Description
PORT 8080 The server's listening port
ROOT_MESSAGE "Hello, World!" The text displayed on /

About

A simple webserver for testing stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages