Discover Packages
github.com/inference-gateway/cli
internal
computer
infrastructure
capture
package
Version:
v0.269.1
Opens a new window with list of versions in this module.
Published: Nov 29, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Preflight fails outside an X11 session: x11grab cannot capture Wayland.
func ScreenAccess() error
ScreenAccess is open on Linux: the shell answers screenshots on GNOME and
X11 asks for no grant, so there is nothing to check before a capture.
WindowBounds returns the frame (decorations included) of the matching
top-level window, preferring the topmost one.
type Screen struct {
Width, Height int
NativeWidth, NativeHeight int
}
Screen is the primary display: its logical size and the size in pixels
the platform screen grabber captures (larger on scaled/HiDPI displays).
PrimaryScreen returns the X11 root screen, which x11grab captures 1:1.
It is read from X directly: robotgo's purego build targets Wayland.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.