pipe

package
v0.0.0-...-6df7f83 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipe

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

Pipe is a pipe to communicate with fm

func NewPipe

func NewPipe() (*Pipe, error)

NewPipe creates a new pipe

func (*Pipe) GetMessageInPath

func (p *Pipe) GetMessageInPath() string

GetMessageInPath returns the path to the message in file

func (*Pipe) GetSelectionPath

func (p *Pipe) GetSelectionPath() string

GetSelectionPath returns the path to the selection file

func (*Pipe) GetSessionPath

func (p *Pipe) GetSessionPath() string

GetSessionPath returns session the path of the application

func (*Pipe) StartWatcher

func (p *Pipe) StartWatcher(onMessageIn func(string))

StartWatcher starts the watcher for message in file

func (*Pipe) StopWatcher

func (p *Pipe) StopWatcher()

StopWatcher stops the watcher for message in file

Jump to

Keyboard shortcuts

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