Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
InterfaceName string
InterfaceMac []byte
// contains filtered or unexported fields
}
Client consumes lldp messages.
func (*Client) Start ¶
func (l *Client) Start(resultChan chan<- DiscoveryResult, portDescriptionFilter func(string) bool) error
Start searches on the configured interface for lldp packages and pushes the optional TLV SysName and SysDescription fields of each found lldp package into the given channel.
Click to show internal directories.
Click to hide internal directories.