procs

package module
v0.0.0-...-6170e66 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 9 Imported by: 0

README

procs

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd = exec.Cmd

type Initd

type Initd struct {
	Config InitdConfig
	Env    map[string]string
	L      L.Nullable
}

func (*Initd) Start

func (i *Initd) Start() error

type InitdConfig

type InitdConfig struct {
	Dir string            `envconfig:"DIR" json:"dir"`
	Env map[string]string `envconfig:"ENV" json:"env"`
}

type Procs

type Procs struct {
	Config ProcsConfig
	L      L.Nullable
	// contains filtered or unexported fields
}

func (*Procs) HTTPHandler

func (ps *Procs) HTTPHandler(w http.ResponseWriter, r *http.Request)

func (*Procs) Ready

func (ps *Procs) Ready(id string, handshake []byte) error

func (*Procs) Start

func (ps *Procs) Start(cmd *Cmd) ([]byte, error)

type ProcsConfig

type ProcsConfig struct {
	ReadyTimeout time.Duration `envconfig:"READY_TIMEOUT" json:"ready_timeout"`
}

Jump to

Keyboard shortcuts

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