Documentation
¶
Index ¶
- type ARP
- func (m *ARP) AddCount(f ARPCountFunc)
- func (m *ARP) AddPresent(f ARPPresentFunc)
- func (m *ARP) Count(count uint)
- func (m *ARP) HasMore() bool
- func (m *ARP) Present(ctx context.Context, ifs neighbors.Interfaces, state neighbors.State, ...) error
- func (m *ARP) SetCount(f ARPCountFunc)
- func (m *ARP) SetPresent(f ARPPresentFunc)
- type ARPCountFunc
- type ARPPresentFunc
- type ARPing
- func (m *ARPing) AddCount(f ARPingCountFunc)
- func (m *ARPing) AddPing(f ARPingPingFunc)
- func (m *ARPing) Count(count uint)
- func (m *ARPing) HasMore() bool
- func (m *ARPing) Ping(ctx context.Context, ifi, hw, ip string) (bool, error)
- func (m *ARPing) SetCount(f ARPingCountFunc)
- func (m *ARPing) SetPing(f ARPingPingFunc)
- type ARPingCountFunc
- type ARPingPingFunc
- type State
- func (m *State) AddChanged(f StateChangedFunc)
- func (m *State) AddPresent(f StatePresentFunc)
- func (m *State) AddReset(f StateResetFunc)
- func (m *State) AddSet(f StateSetFunc)
- func (m *State) Changed() bool
- func (m *State) HasMore() bool
- func (m *State) Present() bool
- func (m *State) Reset()
- func (m *State) Set(present bool)
- func (m *State) SetChanged(f StateChangedFunc)
- func (m *State) SetPresent(f StatePresentFunc)
- func (m *State) SetReset(f StateResetFunc)
- func (m *State) SetSet(f StateSetFunc)
- type StateChangedFunc
- type StatePresentFunc
- type StateResetFunc
- type StateSetFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ARP ¶
type ARP struct {
// contains filtered or unexported fields
}
func (*ARP) AddCount ¶
func (m *ARP) AddCount(f ARPCountFunc)
func (*ARP) AddPresent ¶
func (m *ARP) AddPresent(f ARPPresentFunc)
func (*ARP) Present ¶
func (m *ARP) Present(ctx context.Context, ifs neighbors.Interfaces, state neighbors.State, addrStates neighbors.HardwareAddrStates) error
func (*ARP) SetCount ¶
func (m *ARP) SetCount(f ARPCountFunc)
func (*ARP) SetPresent ¶
func (m *ARP) SetPresent(f ARPPresentFunc)
type ARPCountFunc ¶
type ARPCountFunc func(count uint)
type ARPPresentFunc ¶
type ARPPresentFunc func(ctx context.Context, ifs neighbors.Interfaces, state neighbors.State, addrStates neighbors.HardwareAddrStates) error
type ARPing ¶
type ARPing struct {
// contains filtered or unexported fields
}
func (*ARPing) AddCount ¶
func (m *ARPing) AddCount(f ARPingCountFunc)
func (*ARPing) AddPing ¶
func (m *ARPing) AddPing(f ARPingPingFunc)
func (*ARPing) SetCount ¶
func (m *ARPing) SetCount(f ARPingCountFunc)
func (*ARPing) SetPing ¶
func (m *ARPing) SetPing(f ARPingPingFunc)
type ARPingCountFunc ¶
type ARPingCountFunc func(count uint)
type ARPingPingFunc ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) AddChanged ¶
func (m *State) AddChanged(f StateChangedFunc)
func (*State) AddPresent ¶
func (m *State) AddPresent(f StatePresentFunc)
func (*State) AddReset ¶
func (m *State) AddReset(f StateResetFunc)
func (*State) AddSet ¶
func (m *State) AddSet(f StateSetFunc)
func (*State) SetChanged ¶
func (m *State) SetChanged(f StateChangedFunc)
func (*State) SetPresent ¶
func (m *State) SetPresent(f StatePresentFunc)
func (*State) SetReset ¶
func (m *State) SetReset(f StateResetFunc)
func (*State) SetSet ¶
func (m *State) SetSet(f StateSetFunc)
type StateChangedFunc ¶
type StateChangedFunc func() bool
type StatePresentFunc ¶
type StatePresentFunc func() bool
type StateResetFunc ¶
type StateResetFunc func()
type StateSetFunc ¶
type StateSetFunc func(present bool)
Click to show internal directories.
Click to hide internal directories.