sqlite

package
v0.4.0-beta Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Dumps all incoming flow messages to a local sqlite database. The schema used for this is preset.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sqlite

type Sqlite struct {
	segments.BaseSegment

	FileName string // required
	// contains filtered or unexported fields
}

func (Sqlite) New

func (segment Sqlite) New(config map[string]string) segments.Segment

Every Segment must implement a New method, even if there isn't any config it is interested in.

func (*Sqlite) Run

func (segment *Sqlite) Run(wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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