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 IPWatch
- type MockIPWatch
- type MockInterfaceIpwatch
- func (v *MockInterfaceIpwatch) ConnectIPConflict(cb func(ip string, smac string, dmac string)) (dbusutil.SignalHandlerId, error)
- func (v *MockInterfaceIpwatch) GoRequestIPConflictCheck(flags dbus.Flags, ch chan *dbus.Call, ip string, ifc string) *dbus.Call
- func (v *MockInterfaceIpwatch) 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 IPWatch ¶
func NewIPWatch ¶
func NewIPWatch(conn *dbus.Conn) IPWatch
type MockIPWatch ¶
type MockIPWatch struct { MockInterfaceIpwatch // interface org.deepin.dde.IPWatch1 proxy.MockObject }
type MockInterfaceIpwatch ¶
func (*MockInterfaceIpwatch) ConnectIPConflict ¶
func (v *MockInterfaceIpwatch) ConnectIPConflict(cb func(ip string, smac string, dmac string)) (dbusutil.SignalHandlerId, error)
func (*MockInterfaceIpwatch) GoRequestIPConflictCheck ¶
func (v *MockInterfaceIpwatch) GoRequestIPConflictCheck(flags dbus.Flags, ch chan *dbus.Call, ip string, ifc string) *dbus.Call
func (*MockInterfaceIpwatch) RequestIPConflictCheck ¶
func (v *MockInterfaceIpwatch) RequestIPConflictCheck(flags dbus.Flags, ip string, ifc string) (string, error)
Click to show internal directories.
Click to hide internal directories.