2018-09-06 10:50:38 +00:00
|
|
|
package proxyprocess
|
2018-04-27 18:24:49 +00:00
|
|
|
|
|
|
|
// Noop implements Proxy and does nothing.
|
|
|
|
type Noop struct{}
|
|
|
|
|
2018-05-03 22:46:00 +00:00
|
|
|
func (p *Noop) Start() error { return nil }
|
|
|
|
func (p *Noop) Stop() error { return nil }
|
2018-06-05 12:22:32 +00:00
|
|
|
func (p *Noop) Close() error { return nil }
|
2018-05-03 22:46:00 +00:00
|
|
|
func (p *Noop) Equal(Proxy) bool { return true }
|
|
|
|
func (p *Noop) MarshalSnapshot() map[string]interface{} { return nil }
|
|
|
|
func (p *Noop) UnmarshalSnapshot(map[string]interface{}) error { return nil }
|