file

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Implements a file sink, intended for testing. It's possible people may want to use this for JSON dumps of their database, but it may need extending to better suit that use-case.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts Options) (generic.Sink, error)

Types

type Options

type Options struct {
	SchemasPath       string
	ModificationsPath string
	BufferSize        int
	Instrument        bool
	FlushInterval     time.Duration
}

func (*Options) Bind

func (opt *Options) Bind(cmd *kingpin.CmdClause, prefix string) *Options

Jump to

Keyboard shortcuts

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