RPC plugins support (#85)

* wip

* resolve merge artifacts

* full coverage for conductor

* wire plugin conductor to main and proxy

* wip, with separate match handler

* split matching logic with another handler, add initial docs

* move parts of proxy to handlers, add tests

* add headers in to be sent to proxied url

* merged from master

* add example with docker compose

* supress excesive debug reporting 0-9 disabled in docker

* add plugin tests

* randomize test port

* lint: minor warns

* lint: err shadow
This commit is contained in:
Umputun
2021-06-01 02:56:39 -05:00
committed by GitHub
parent 30ca38b1ba
commit 7139c57766
65 changed files with 4053 additions and 227 deletions

1
go.mod
View File

@@ -4,6 +4,7 @@ go 1.16
require (
github.com/go-pkgz/lgr v0.10.4
github.com/go-pkgz/repeater v1.1.3
github.com/go-pkgz/rest v1.9.2
github.com/gorilla/handlers v1.5.1
github.com/prometheus/client_golang v1.10.0