hijacker

package
v0.0.0-...-9850d01 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 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