Categorygithub.com/parallel-programming-hwr/http-exec
modulepackage
0.0.0-20210123001228-c84e98e38907
Repository: https://github.com/parallel-programming-hwr/http-exec.git
Documentation: pkg.go.dev

# README

http-exec

Start remote command via http request.

How it works

This is only a wrapper for some command, that can be started via an http request. It can only run one concurrent job.

Usage

Install

Go get it with:

go get github.com/parallel-programming-hwr/http-exec

Run

Start http server with:

./http-exec --command <command> --args="<arg1,arg2,...>"

This will start a server and listen to port 8080.

API

/start

Start executing command and write stdout back.

/

Write status of worker. Either running or ready.

# Constants

No description provided by the author
No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author