ipc

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

DSUL - Disturb State USB Light : IPC module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientRunner

func ClientRunner(cfg *settings.Config, output_handling struct {
	Verbose bool
	Debug   bool
}, ipc_message chan Message, ipc_response chan Message, done chan bool)

func ServerRunner

func ServerRunner(cfg *settings.Config, output_handling struct {
	Verbose bool
	Debug   bool
}, cmd_channel chan string, rsp_channel chan string)

Start runner for IPC server.

Types

type Message

type Message struct {
	Type   string
	Key    string
	Value  string
	Secret string
}

Jump to

Keyboard shortcuts

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