Go bindings for the libnf C library — enabling parsing of NetFlow data in Go applications.
- Go Bindings for libnf: Provides Go language bindings to the
libnfC library. - NetFlow Data Parsing: Enables parsing and processing of NetFlow data within Go programs.
Before using this Go module, ensure that the following are installed on your Linux-based operating system:
To install the package, run:
go install github.com/matejnesuta/libnf-go@latest
go get github.com/matejnesuta/libnf-goIn order to run these, clone the repository and run:
go run main.go <example-name> [--profile]Results of the profiler can be viewed like this:
go tool pprof -http=:6061 .prof/cpu.profThis package uses a Godoc for documentation. In order to generate it, run this command:
godoc -http=:6060This repository contains various automated tests. To run them from the root, use this:
go test ./...