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.
Click to show internal directories.
Click to hide internal directories.