This page is about Caddy 1 and will go away soon because Caddy 2 is now available. Click here for Caddy 2.

User Guide

http.gopkg
Plugin

The gopkg directive allows you to create vanity Go import urls.

Full documentation

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
Plugin Author: Jason Hutchinson
Last Updated: 30 Jun 2017, 2:03 AM
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.