ipc

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(path string) error

Cleanup performs any cleanup and shutdown tasks

func InitIPC

func InitIPC(st *state.State, socketPath string, logger zerolog.Logger) error

InitIPC initializes the IPC setup and continuously listens on the given path for incoming connections

Types

type DaemonResponse added in v0.0.3

type DaemonResponse struct {
	Success  bool   `json:"success"`
	Response string `json:"response"`
	Error    string `json:"error"`
}

DaemonResponse is the struct that holds the response of the daemon to the client

Jump to

Keyboard shortcuts

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