log

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyLineByLine

func CopyLineByLine(dst io.WriteCloser, src io.Reader, maxSize int) error

func NewLineWriter

func NewLineWriter(peer rpc.Peer, stepUUID string, secret ...string) io.WriteCloser

NewLineWriter returns a new line reader.

Types

type LineWriter

type LineWriter struct {
	sync.Mutex
	// contains filtered or unexported fields
}

LineWriter sends logs to the client.

func (*LineWriter) Close

func (w *LineWriter) Close() error

func (*LineWriter) Write

func (w *LineWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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