Documentation ¶
Overview ¶
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.
SPDX-License-Identifier: GPL-3.0-or-later
Index ¶
- type IPWatchD
- type MockIPWatchD
- type MockInterfaceIpwatchd
- func (v *MockInterfaceIpwatchd) ConnectIPConflict(cb func(ip string, smac string, dmac string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceIpwatchd) GoRequestIPConflictCheck(flags dbus.Flags, ch chan *dbus.Call, ip string, ifc string) *dbus.Call
- func (v *MockInterfaceIpwatchd) RequestIPConflictCheck(flags dbus.Flags, ip string, ifc string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPWatchD ¶
func NewIPWatchD ¶
func NewIPWatchD(conn *dbus.Conn) IPWatchD
type MockIPWatchD ¶
type MockIPWatchD struct { MockInterfaceIpwatchd // interface com.deepin.system.IPWatchD proxy.MockObject }
type MockInterfaceIpwatchd ¶
func (*MockInterfaceIpwatchd) ConnectIPConflict ¶
func (v *MockInterfaceIpwatchd) ConnectIPConflict(cb func(ip string, smac string, dmac string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceIpwatchd) GoRequestIPConflictCheck ¶
func (v *MockInterfaceIpwatchd) GoRequestIPConflictCheck(flags dbus.Flags, ch chan *dbus.Call, ip string, ifc string) *dbus.Call
func (*MockInterfaceIpwatchd) RequestIPConflictCheck ¶
func (v *MockInterfaceIpwatchd) RequestIPConflictCheck(flags dbus.Flags, ip string, ifc string) (string, error)
Click to show internal directories.
Click to hide internal directories.