ipc

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdHandler

type CmdHandler func([]string) (string, error)

type Cmds

type Cmds map[string]map[string]CmdHandler

TYPE CLASS HANDLER

type IO

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

func New

func New(r io.Reader, w io.Writer, dbg *log.Logger) *IO

func (*IO) Quit

func (ipc *IO) Quit()

func (*IO) Run

func (ipc *IO) Run() (err error)

func (*IO) SetCommands

func (ipc *IO) SetCommands(init, main Cmds)

Jump to

Keyboard shortcuts

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