line_buffer

package
v0.0.0-...-5c47c4c Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: EPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LineRingBuffer

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

func New

func New() *LineRingBuffer

* Create new ring buffer to accumulate and restore machine-exec output.

func (*LineRingBuffer) GetContent

func (lineBuff *LineRingBuffer) GetContent() string

func (*LineRingBuffer) Write

func (lineBuff *LineRingBuffer) Write(bts []byte)

type LineScanner

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

func CreateLineScanner

func CreateLineScanner(bts []byte) LineScanner

func (LineScanner) Scan

func (lineScanner LineScanner) Scan() bool

func (LineScanner) Text

func (lineScanner LineScanner) Text() string

Jump to

Keyboard shortcuts

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