mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 05:45:46 +00:00
11 lines
469 B
Go
11 lines
469 B
Go
package proxy
|
|
|
|
// Noop implements Proxy and does nothing.
|
|
type Noop struct{}
|
|
|
|
func (p *Noop) Start() error { return nil }
|
|
func (p *Noop) Stop() error { return nil }
|
|
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 }
|