github.imxd.top/hashicorp/consul@v1.4.5/agent/proxyprocess/test.go (about) 1 package proxyprocess 2 3 // defaultTestProxy is the test proxy that is instantiated for proxies with 4 // an execution mode of ProxyExecModeTest. 5 var defaultTestProxy = testProxy{} 6 7 // testProxy is a Proxy implementation that stores state in-memory and 8 // is only used for unit testing. It is in a non _test.go file because the 9 // factory for initializing it is exported (newProxy). 10 type testProxy struct { 11 Start uint32 12 Stop uint32 13 }