2018-09-06 10:50:38 +00:00
|
|
|
package proxyprocess
|
2018-05-01 06:35:23 +00:00
|
|
|
|
|
|
|
// defaultTestProxy is the test proxy that is instantiated for proxies with
|
|
|
|
// an execution mode of ProxyExecModeTest.
|
|
|
|
var defaultTestProxy = testProxy{}
|
|
|
|
|
|
|
|
// testProxy is a Proxy implementation that stores state in-memory and
|
|
|
|
// is only used for unit testing. It is in a non _test.go file because the
|
|
|
|
// factory for initializing it is exported (newProxy).
|
|
|
|
type testProxy struct {
|
|
|
|
Start uint32
|
|
|
|
Stop uint32
|
|
|
|
}
|