Documentation ¶
Index ¶
- func NewProxyCtrl() (proxyCtrl *controller.ProxyCtrl, stopChan chan struct{}, ...)
- func ProxyCtrlCliReq(ctrl *controller.ProxyCtrl, url string, header map[string]string, ...) *httptest.ResponseRecorder
- func ProxyCtrlSerReq(ctrl *controller.ProxyCtrl, url string, header map[string]string, ...) (resp *httptest.ResponseRecorder, respJobId string)
- func RespDataEq(body io.Reader, data []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProxyCtrl ¶
func NewProxyCtrl() (proxyCtrl *controller.ProxyCtrl, stopChan chan struct{}, closeChan chan struct{})
func ProxyCtrlCliReq ¶
func ProxyCtrlCliReq(ctrl *controller.ProxyCtrl, url string, header map[string]string, dataReader io.Reader) *httptest.ResponseRecorder
func ProxyCtrlSerReq ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.