open-consul/agent/proxy/noop.go
2018-06-14 09:42:09 -07:00

9 lines
223 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 }