spy

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package spy contains an interface (Spy) and functionality to register new spies

Index

Constants

This section is empty.

Variables

View Source
var SupportedSpies []string

Functions

func RegisterSpy

func RegisterSpy(name string, cb spyIntitializer)

func ResolveAutoName

func ResolveAutoName(s string) string

func SupportedExecSpies added in v0.0.16

func SupportedExecSpies() []string

Types

type Spy

type Spy interface {
	Stop() error
	Snapshot(cb func([]byte, error))
}

func SpyFromName

func SpyFromName(name string, pid int) (Spy, error)

Jump to

Keyboard shortcuts

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