Versions in this module Expand all Collapse all v0 v0.13.1 Mar 27, 2026 v0.13.0 Mar 26, 2026 Changes in this version + const NonceHeader + func CheckHealth(ctx context.Context, serverURL string, expectedNonce string) error + func CleanupStale() error + func FilePath() string + func HTTPClientForURL(serverURL string) (*http.Client, string, error) + func ParseUnixSocketPath(rawURL string) (string, error) + func RemoveServerInfo() error + func ValidateLoopbackURL(rawURL string) error + func WriteServerInfo(info *ServerInfo) error + type DiscoverResult struct + Info *ServerInfo + State ServerState + func Discover(ctx context.Context) (*DiscoverResult, error) + type ServerInfo struct + Nonce string + PID int + StartedAt time.Time + URL string + func ReadServerInfo() (*ServerInfo, error) + type ServerState int + const StateNotFound + const StateRunning + const StateStale + const StateUnhealthy + func (s ServerState) String() string