mirror of
https://github.com/paralus/paralus.git
synced 2026-03-05 18:40:18 +00:00
13 lines
306 B
Go
13 lines
306 B
Go
package proxy
|
|
|
|
import (
|
|
"io"
|
|
"net/http"
|
|
|
|
"github.com/RafaySystems/rcloud-base/components/relay/pkg/utils"
|
|
)
|
|
|
|
// Func is responsible for forwarding a remote connection to local server
|
|
// and writing the response.
|
|
type Func func(w io.Writer, r io.ReadCloser, msg *utils.ControlMessage, req *http.Request)
|