2021-04-02 06:14:13 +00:00
|
|
|
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
// +build !linux,!freebsd,!openbsd,!windows
|
|
|
|
|
|
|
|
package dns
|
|
|
|
|
|
|
|
type noopManager struct{}
|
|
|
|
|
|
|
|
// Up implements managerImpl.
|
|
|
|
func (m noopManager) Up(Config) error { return nil }
|
|
|
|
|
|
|
|
// Down implements managerImpl.
|
|
|
|
func (m noopManager) Down() error { return nil }
|
|
|
|
|
2021-04-02 06:26:52 +00:00
|
|
|
func newNoopManager() managerImpl {
|
2021-04-02 06:14:13 +00:00
|
|
|
return noopManager{}
|
|
|
|
}
|