resource-git

command module
v0.0.0-...-aefead2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 13 Imported by: 0

README

Reference Bob Resource: Git

This is a simple external resource enabling Bob to read git repositories.

Requirements

  • Go 1.22+

Running

  • go build main.go to compile the code and obtain a binary main.
  • ./main will start on port 8000 by default, set the env var PORT to change.

API

  • GET /bob_resource: Takes repo and branch as params, clones and responds back with a tar of the repo.
  • GET /ping: Responds with an Ack.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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