spy

package
Version: v0.0.0-...-e488709 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 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

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)

Source Files

Jump to

Keyboard shortcuts

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