db

package
v0.0.0-...-9430c4f Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package db is a Go library that populates sql databases with Bro log data. It was built to work in conjunction with the github.com/amadeovezz/gobro/parse library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDB

func InitDB(user, pw, ip, port, dbase string) error

InitDB ensures that a valid connection to the database is established.

func InsertBatch

func InsertBatch(values chan []string, logType string, numOfValues int) error

InsertBatch reads from a channel of values and inserts them into the db.

Types

This section is empty.

Jump to

Keyboard shortcuts

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