rpc

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 6 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) Err added in v0.3.3

func (p *Pipe) Err() error

func (*Pipe) Flush

func (p *Pipe) Flush() *Pipe

func (*Pipe) Get added in v0.3.3

func (p *Pipe) Get(variables ...interface{}) *Pipe

func (*Pipe) Lock added in v0.3.3

func (p *Pipe) Lock() *Pipe

func (*Pipe) Put added in v0.3.3

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

func (*Pipe) Sync added in v0.3.4

func (p *Pipe) Sync() error

func (*Pipe) Unlock added in v0.3.3

func (p *Pipe) Unlock() *Pipe

Jump to

Keyboard shortcuts

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