csv

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DialEncoder

type DialEncoder struct {
	// contains filtered or unexported fields
}

DialEncoder encodes dial information in CSV format to a writer.

func NewDialEncoder

func NewDialEncoder(w io.Writer) *DialEncoder

NewDialEncoder returns a new instance of DialEncoder that writes to w.

func (*DialEncoder) Close

func (enc *DialEncoder) Close() error

Close flushes the underlying writer.

func (*DialEncoder) EncodeDial

func (enc *DialEncoder) EncodeDial(dial *wtf.Dial) error

EncodeDial encodes a dial row to the underlying CSV writer.

Jump to

Keyboard shortcuts

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