connections

package
v0.0.0-...-6772be9 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2017 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(exposeProcessInfo, exposeCmdline, exposeEnviron,
	enableLocalConnections, enableDocker, enableTcpDiag bool,
	pollInterval, aggregation time.Duration,
	dockerEnvironment []string) (chan FullConnection, chan ServerConnection, error)

Types

type Connections

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

func New

func New(exposeCmdline, exposeEnviron bool) *Connections

type FullConnection

type FullConnection struct {
	LocalConnection

	RemoteIP   string
	RemotePort uint16
}

type LocalConnection

type LocalConnection struct {
	LocalIP   string
	LocalPort uint16

	Process   *processes.UnixProcess
	Container *sockets.ContainerInfo
}

type ServerConnection

type ServerConnection LocalConnection

Jump to

Keyboard shortcuts

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