base

package
v0.0.0-...-c802062 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(b bool)

func CheckError

func CheckError(err error)

func CheckFatal

func CheckFatal(format string, err error)

func OpenLog

func OpenLog(errFileName string) *os.File

func ProcessStream

func ProcessStream(in io.Reader, watcheePid int, watcheeArgs []string)

func RandStringBytes

func RandStringBytes(n int) string

Types

type WatchReader

type WatchReader struct {
	Buf *bytes.Buffer
	// contains filtered or unexported fields
}

func NewWR

func NewWR(in io.Reader) *WatchReader

func (*WatchReader) Read

func (wr *WatchReader) Read(p []byte) (int, error)

Jump to

Keyboard shortcuts

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