gomod-index

command module
v0.0.0-...-80447de Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2023 License: ISC Imports: 6 Imported by: 0

README

gomod-index

simple and stupid go module thingy.

usage

$ go install aaoth.xy/la-ninpre/gomod-index@latest
$ gomod-index -l "<listen on>" -m "<mod root>" -g "<repo root>"
...

this will listen on "<listen on>" and will redirect go get requests to "<mod root>/mod" to git repo at "<repo root>/mod".

licence

ISC (see 'LICENCE').

Documentation

Overview

gomod-index is a simple http redirector for go modules. it listens on a specified address and port and handles go get requests to a git repo. it is designed to be run behind a tls-terminating reverse-proxy.

usage:

gomod-index [-l listen_addr] [-m module_root] [-g git_repo_root]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL