tools

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TH32CS_SNAPPROCESS = 0x00000002

Variables

This section is empty.

Functions

func ByteCountDownSI

func ByteCountDownSI(b float64, exp int, downBy int) (float64, string)

func ByteCountSI

func ByteCountSI(b int64) string

func ByteCountUpSI

func ByteCountUpSI(b int64, upBy int) (float64, string)

func InTimeSpan

func InTimeSpan(startString string, endString string, checkTime time.Time) bool

InTimeSpan(start, end, check) determines if check lies between start and end

func MoppyFile

func MoppyFile(src string, dst string, move bool) error

func RemoveIllegalChars

func RemoveIllegalChars(str string) string

Types

type PassThru

type PassThru struct {
	io.Reader
	// contains filtered or unexported fields
}

func (*PassThru) Read

func (pt *PassThru) Read(p []byte) (int, error)

type WindowsProcess

type WindowsProcess struct {
	ProcessID       int
	ParentProcessID int
	Exe             string
}

Jump to

Keyboard shortcuts

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