filebuf

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 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 FileOutputBuffer

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

func NewFileOutputBuffer

func NewFileOutputBuffer(opts FileOutputBufferOptions) *FileOutputBuffer

func (*FileOutputBuffer) AppendToFile

func (o *FileOutputBuffer) AppendToFile(line string)

func (*FileOutputBuffer) Flush

func (o *FileOutputBuffer) Flush()

type FileOutputBufferOptions

type FileOutputBufferOptions struct {
	BulkOutputLimit int64
	FilePath        string
	OnAppendCB      func()
	OnFlushCB       func(int)
}

Jump to

Keyboard shortcuts

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