ipc

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Send

func Send(path, msg string) (string, error)

Types

type ConnWriter

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

func (*ConnWriter) Write

func (cw *ConnWriter) Write(p []byte) (int, error)

func (*ConnWriter) Writeln

func (cw *ConnWriter) Writeln(format string, args ...any)

type IPCServer

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

func (*IPCServer) Start

func (ipc *IPCServer) Start(ctx context.Context, log *zerolog.Logger, path string, cmd *cobra.Command) error

func (*IPCServer) Stop

func (ipc *IPCServer) Stop() error

Jump to

Keyboard shortcuts

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