Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

AlexsJones/blacklist-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blacklist-example

  • Swagger API server is generated to serve HTTP routes.
  • The example handler is in the main.go and serves an in memory example

Requirements

  • golang (new enough version to support go modules) Run locally...
- go run main.go
http://127.0.0.1:8080/v1/blacklist

Run in kubernetes...

kubectl apply -f kubernetes/

The API should result with...

curl http://127.0.0.1:8080/v1/blacklist
{"domains":["piratebay.org","piratebay.io","piratebay.co.uk"]}

About

A very simple example demoing a bunch of technologies

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors