workclient

package
v0.16.0-dev.c839379e Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package workclient is the S1 wire of the resident work session's thin client: one request line in, one reply line out over the Unix-domain socket --session names, newline-terminated both ways.

It lives here rather than in cmd/nova-work so that the binary keeps a single classified print path: the raw .Write of a socket is the one thing the package's source-level audit cannot classify, and moving the dial and the read out of the binary lets every fmt call in package main remain escaped.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exchange

func Exchange(socket, request string) (string, error)

Exchange dials the session's socket, writes the request line and returns the one reply line without its newline. A dial, write or read that cannot complete is returned as an error; the caller owns the refusal line.

Types

This section is empty.

Jump to

Keyboard shortcuts

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