execlogwrap

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ConnPollTime = 1 * time.Second

Variables

This section is empty.

Functions

func ExecCommand

func ExecCommand(args []string, isDev bool) error

ExecCommand executes a command with the provided arguments

func ProcessExistingStreams

func ProcessExistingStreams(streams []TeeStreamDecl, isDev bool) error

ProcessExistingStreams handles capturing logs from provided input/output streams

Types

type LogDataWrap

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

LogDataWrap encapsulates a connection with its lock and related functionality

type TeeStreamDecl

type TeeStreamDecl struct {
	Input  io.Reader
	Output io.Writer
	Source string
}

TeeStreamDecl defines a stream to be processed with TeeCopy

Jump to

Keyboard shortcuts

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