writers

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoundaryBufferedWriter

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

func NewBoundaryBufferedWriter

func NewBoundaryBufferedWriter(w io.Writer, size int) *BoundaryBufferedWriter

func (*BoundaryBufferedWriter) Flush

func (b *BoundaryBufferedWriter) Flush() error

func (*BoundaryBufferedWriter) Write

func (b *BoundaryBufferedWriter) Write(p []byte) (int, error)

type SpreadWriter

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

func NewSpreadWriter

func NewSpreadWriter(w io.Writer, interval time.Duration, exitCh chan int) *SpreadWriter

func (*SpreadWriter) Flush

func (s *SpreadWriter) Flush()

func (*SpreadWriter) Write

func (s *SpreadWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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