# Functions
EnsureDaemon makes sure a daemon of the right version is up and running.
ExecuteRequest request the daemon to execute a request.
Handshake connects and sends a handshake request to the daemon.
KillDaemon will kill the process with the PID stored in the daemon.pid file.
WriteDaemonPID writes the PID of the current process to a file in the go-http-cli process dir.
# Constants
DaemonMajorVersion current version of the daemon.
DaemonMinorVersion current minor version of the daemon.
DaemonPort is the port the daemon uses to accept connections.
# Structs
HandshakeResponse is the response sent by the daemon when someone is checking if it's up.
RequestExecution is the response from the daemon when executing a request.