Versions in this module Expand all Collapse all v0 v0.0.1 Oct 12, 2026 Changes in this version + func ValidRetryPolicy(policy RetryPolicy) bool + type CompositorInfo = struct + Confidence ConfidenceType + DetectedBy MethodType + Kind KindType + Name string + Version string + Wayland bool + X11 bool + type Config = struct + ConnectionRetry RetryPolicy + NativeGL bool + ProbeTimeout time.Duration + ProcessScan bool + Sections SectionsType + Timeout time.Duration + type DesktopInfo = struct + CurrentDesktop string + CurrentDesktops []string + DesktopSession string + Environment DesktopType + Name string + SessionDesktop string + Version string + type DisplayInfo = struct + Protocol ProtocolType + Wayland *WaylandServerType + WaylandAvailable bool + WaylandDisplay string + X11 *XServerType + X11Available bool + X11Display string + XWayland bool + type Environment = struct + Compositor CompositorType + Desktop DesktopType + Display DisplayType + Graphics GraphicsType + Headless bool + OS OSType + Portal PortalType + Session SessionType + type GraphicsInfo = struct + GPUs []GPUType + OpenGL OpenGLType + PrimaryGPU string + Vulkan VulkanType + type RetryPolicy struct + InitialInterval time.Duration + MaxAttempts uint + MaxInterval time.Duration + func DefaultRetryPolicy() RetryPolicy + type SessionInfo = struct + Active bool + Desktop string + ID string + Name string + Remote bool + Seat string + Type SessionType + User string + VTNumber int + XDGSessionDesktop string + XDGSessionType string + type WaylandInfo = struct + Display string + Globals []GlobalType + SocketFD int