http.gopkg Plugin
The gopkg directive allows you to create vanity Go import urls.
Examples
Basic Usage
mydomain.com {
gopkg /gopkg https://github.com/zikes/gopkg
}
Permits go get mydomain.com/gopkg
Specify Repository Type
gopkg /myrepo hg https://bitbucket.com/zikes/myrepo
Specifies the Mercurial repository type.
Related Links
Documentation
Access the full documentation for this plugin off-site:
Docs
Plugin Help
Get help from the maintainers of the http.gopkg plugin:
Support
Plugin Website
Visit http.gopkg's website for more information:
Website
This plugin is independent of the Caddy project and is not endorsed or maintained by Caddy developers. Use at your own risk. Do not file issues for this plugin on Caddy's bug tracker.