deathtax

package
v0.0.0-...-c607c99 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PooledFactory

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

PooledFactory is a factory that holds between min and max hot instances.

func NewPooledFactory

func NewPooledFactory(size int) *PooledFactory

NewPooledFactory creates a PooledFactory instance with the specified min and max hot spares

func (*PooledFactory) GetInstance

func (pf *PooledFactory) GetInstance() *Session

GetInstance returns an instance of Session

func (*PooledFactory) Initialized

func (pf *PooledFactory) Initialized() bool

Initialized returns true when all instances in the pool are ready after initial create. This always returns true once the initial processes are booted

type Session

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

Session powershell process object

func NewSession

func NewSession() *Session

NewSession returns a new running DeathTax process

func (*Session) IsReady

func (s *Session) IsReady() bool

IsReady returns true if the session is fully booted and available for use.

func (*Session) RunWebsocketProxy

func (s *Session) RunWebsocketProxy(wsConn *websocket.Conn)

RunWebsocketProxy pipes input and output channels from/to the websocket

Jump to

Keyboard shortcuts

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