Skip to content

Masquerade helps you to host your Go modules behind your own domain.

License

Notifications You must be signed in to change notification settings

joeig/masquerade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Masquerade 🎭

Go Report Card

Masquerade helps you to host your Go modules behind your own domain. It verifies whether the desired module exists in your GitHub account and directs go get (and other tools) to the right repository URL.

Setup

go install go.eigsys.de/masquerade/cmd/masquerade@latest

Usage

Quick start

$ masquerade -packageHost "go.eigsys.de" -githubOwner "joeig"

Print the full usage

$ masquerade -help

Notes

  • For performance reasons, Masquerade caches all GitHub responses for one hour in memory. You can clear the cache by restarting the application.
  • Furthermore, a Cache-Control header is set with each response, which instructs the HTTP client to also cache the result for one hour.
  • All requests to GitHub are rate limited using a token bucket algorithm to max. 25 requests per second (burst: 100 requests).
  • You can adjust these limits using flags. Use masquerade -help to learn more about all available flags.

About

Masquerade helps you to host your Go modules behind your own domain.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published