hijacker

package
v3.0.2-rc.36+incompatible Latest Latest
Warning

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

Go to latest
Published: May 17, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hijacker

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

func New

func New(tlsConfig *tls.Config, requestGenerator *rata.RequestGenerator, token *rc.TargetToken) *Hijacker

func (*Hijacker) Hijack

func (h *Hijacker) Hijack(handle string, spec atc.HijackProcessSpec, pio ProcessIO) (int, error)

func (*Hijacker) SetHeartbeatInterval

func (h *Hijacker) SetHeartbeatInterval(interval time.Duration)

type ProcessIO

type ProcessIO struct {
	In  io.Reader
	Out io.Writer
	Err io.Writer
}

Jump to

Keyboard shortcuts

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