rpc

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Overview

Package implements an internal mechanism to communicate with an impress terminal.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithoutFlush

func WithoutFlush(w io.Writer) *withoutFlush

func WithoutMutex

func WithoutMutex() *withoutMutex

Types

type Pipe

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

func NewPipe

func NewPipe(mutex mutexer, writer flushWriter, reader io.Reader) *Pipe

func (*Pipe) Bool

func (p *Pipe) Bool(variable *bool) *Pipe

func (*Pipe) Byte

func (p *Pipe) Byte(variable *byte) *Pipe

func (*Pipe) Bytes

func (p *Pipe) Bytes(variable *[]byte) *Pipe

func (*Pipe) Call

func (p *Pipe) Call(values ...interface{})

func (*Pipe) CallErr

func (p *Pipe) CallErr(values ...interface{}) error

func (*Pipe) Flush

func (p *Pipe) Flush()

func (*Pipe) Int

func (p *Pipe) Int(variable *int) *Pipe

func (*Pipe) Ints

func (p *Pipe) Ints(variable *[]int) *Pipe

func (*Pipe) String

func (p *Pipe) String(variable *string) *Pipe

func (*Pipe) UInt16

func (p *Pipe) UInt16(variable *uint16) *Pipe

func (*Pipe) UInt32

func (p *Pipe) UInt32(variable *uint32) *Pipe

Jump to

Keyboard shortcuts

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