Skip to content

ufraaan/http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

go-http-server

a very minimal HTTP server with query parameter auth and request logging middleware.

features

  • basic authentication via query params
  • request logging middleware
  • graceful shutdown handling

usage

go run main.go

server runs on http://localhost:7129

endpoints

  • GET / - health check
  • GET /login?user=admin&pass=1234 - auth endpoint

About

A very minimal HTTP server in Go.

Resources

Stars

Watchers

Forks

Contributors

Languages