Documentation
¶
Overview ¶
Package sfserver provides sflow collection services via UDP and passes flows into aggregator layer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InterfaceResolver ¶
type SflowServer ¶
type SflowServer struct {
// contains filtered or unexported fields
}
SflowServer represents a sflow Collector instance
func New ¶
func New(listen string, numReaders int, output chan []*flow.Flow, ifResolver InterfaceResolver) (*SflowServer, error)
New creates and starts a new `SflowServer` instance
func (*SflowServer) Stop ¶
func (sfs *SflowServer) Stop()
Stop closes the socket and stops the workers
Click to show internal directories.
Click to hide internal directories.