dumper

package
v0.0.0-...-31a27a5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Topics   []string
	FileName string
	Proto    bool
	JSON     bool
}

Config -

func NewConfig

func NewConfig(topics []string, fileName string, proto bool, json bool) *Config

NewConfig - Setup a new Dumper configuration

type Dumper

type Dumper struct {
	Config *Config
	File   *os.File
}

Dumper -

func NewDumper

func NewDumper(topics []string, fileName string, proto bool, json bool) *Dumper

NewDumper -

func (*Dumper) Open

func (d *Dumper) Open() error

Open -

func (*Dumper) Write

func (d *Dumper) Write(data []byte) error

Write -

Jump to

Keyboard shortcuts

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