Versions in this module Expand all Collapse all v1 v1.3.0 Mar 18, 2026 Changes in this version + var ErrHostAlreadyRunning = errors.New("host already running") + func CleanStaleSocket() + func Dial() (net.Conn, error) + func IsHostRunning() bool + func SocketPath() string + type Handler func(req OpenRequest) OpenResponse + type OpenRequest struct + ConfigPath string + type OpenResponse struct + Error string + OK bool + Reused bool + WindowID string + func SendOpen(conn net.Conn, cfgPath string) (OpenResponse, error) + type Server struct + func NewServer(handler Handler) (*Server, error) + func (s *Server) Close() + func (s *Server) Serve() + func (s *Server) Wait()