discovery

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package discovery handles finding vFlow nodes through multicasting

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ip, port string) error

Run starts sending multicast hello packet

Types

type Discovery

type Discovery struct {
	// contains filtered or unexported fields
}

Discovery represents vflow discovery

func Listen

func Listen(ip, port string) (*Discovery, error)

Listen receives discovery hello packet

func (*Discovery) Nodes

func (d *Discovery) Nodes() []string

Nodes returns a slice of available vFlow nodes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL