package
1.2.2
Repository: https://github.com/johnsiilver/golib.git
Documentation: pkg.go.dev

# README

domainsockets

DO NOT USE! No where even close to prime time.

# Packages

Package domainsockets prvoides for a unix domain socket server, similar to an RPC server like Grpc except that it is intended to only connect unix processes on the same device.

# Functions

DialServer dials a Unix Domain Socket where a server is listening and returns a client to the server.
New is the constructor for Server.
SetupDecode decodes a setup message into a UUIDv4 identifer.
SetupEncode encodes the uid (a UUIDv4 ID) into a message to be sentfor setup.

# Constants

ClientData indicates that the client is making a request to the server.
ClientKeepAlive indicates that the client is still alive.
MiB is a Mebibyte (sometimes called a Megabyte).
ServerData indicates that the server is returning data.
ServerError indicates there was an error and that Data will be a string message of why.

# Variables

No description provided by the author
No description provided by the author

# Structs

Client provides a client to a Domain Socket server.
ClientMsg represents the data to be sent on the wire from the client to the server.
Server provides a Unix Domain Socket procedure calling service.
ServerMsg represents a message returned by the message handler.

# Type aliases

Handler provides a function that answers a request from a client and returns a response.