Skip to content

matejnesuta/libnf-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libnf-go

Go bindings for the libnf C library — enabling parsing of NetFlow data in Go applications.

Features

  • Go Bindings for libnf: Provides Go language bindings to the libnf C library.
  • NetFlow Data Parsing: Enables parsing and processing of NetFlow data within Go programs.

Prerequisites

Before using this Go module, ensure that the following are installed on your Linux-based operating system:

Installation

To install the package, run:

go install github.com/matejnesuta/libnf-go@latest
go get github.com/matejnesuta/libnf-go

Demo examples

In 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.prof

This package uses a Godoc for documentation. In order to generate it, run this command:

godoc -http=:6060

This repository contains various automated tests. To run them from the root, use this:

go test ./...

About

Go bindings for the Libnf C library — enabling parsing of NetFlow data in Go applications.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages