package systeminfo
Import Path
github.com/chromedp/cdproto/systeminfo (on go.dev)
Dependency Relation
imports 7 packages, and imported by one package
Involved Source Files
easyjson.go
Package systeminfo provides the Chrome DevTools Protocol
commands, types, and events for the SystemInfo domain.
The SystemInfo domain defines methods and events for querying low-level
system information.
Generated by the cdproto-gen command.
types.go
Package-Level Type Names (total 15)
GetFeatureStateParams returns information about the feature state.
FeatureState string
Do executes SystemInfo.getFeatureState against the provided context.
returns:
featureEnabled
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetFeatureStateParams : github.com/goccy/go-json.Marshaler
*GetFeatureStateParams : github.com/goccy/go-json.Unmarshaler
GetFeatureStateParams : github.com/mailru/easyjson.Marshaler
*GetFeatureStateParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetFeatureStateParams : github.com/mailru/easyjson.Unmarshaler
GetFeatureStateParams : encoding/json.Marshaler
*GetFeatureStateParams : encoding/json.Unmarshaler
func GetFeatureState(featureState string) *GetFeatureStateParams
GetFeatureStateReturns return values.
FeatureEnabled bool
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetFeatureStateReturns : github.com/goccy/go-json.Marshaler
*GetFeatureStateReturns : github.com/goccy/go-json.Unmarshaler
GetFeatureStateReturns : github.com/mailru/easyjson.Marshaler
*GetFeatureStateReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetFeatureStateReturns : github.com/mailru/easyjson.Unmarshaler
GetFeatureStateReturns : encoding/json.Marshaler
*GetFeatureStateReturns : encoding/json.Unmarshaler
GetInfoParams returns information about the system.
Do executes SystemInfo.getInfo against the provided context.
returns:
gpu - Information about the GPUs on the system.
modelName - A platform-dependent description of the model of the machine. On Mac OS, this is, for example, 'MacBookPro'. Will be the empty string if not supported.
modelVersion - A platform-dependent description of the version of the machine. On Mac OS, this is, for example, '10.1'. Will be the empty string if not supported.
commandLine - The command line string used to launch the browser. Will be the empty string if not supported.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetInfoParams : github.com/goccy/go-json.Marshaler
*GetInfoParams : github.com/goccy/go-json.Unmarshaler
GetInfoParams : github.com/mailru/easyjson.Marshaler
*GetInfoParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetInfoParams : github.com/mailru/easyjson.Unmarshaler
GetInfoParams : encoding/json.Marshaler
*GetInfoParams : encoding/json.Unmarshaler
func GetInfo() *GetInfoParams
GetInfoReturns return values.
// The command line string used to launch the browser. Will be the empty string if not supported.
// Information about the GPUs on the system.
// A platform-dependent description of the model of the machine. On Mac OS, this is, for example, 'MacBookPro'. Will be the empty string if not supported.
// A platform-dependent description of the version of the machine. On Mac OS, this is, for example, '10.1'. Will be the empty string if not supported.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetInfoReturns : github.com/goccy/go-json.Marshaler
*GetInfoReturns : github.com/goccy/go-json.Unmarshaler
GetInfoReturns : github.com/mailru/easyjson.Marshaler
*GetInfoReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetInfoReturns : github.com/mailru/easyjson.Unmarshaler
GetInfoReturns : encoding/json.Marshaler
*GetInfoReturns : encoding/json.Unmarshaler
GetProcessInfoParams returns information about all running processes.
Do executes SystemInfo.getProcessInfo against the provided context.
returns:
processInfo - An array of process info blocks.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetProcessInfoParams : github.com/goccy/go-json.Marshaler
*GetProcessInfoParams : github.com/goccy/go-json.Unmarshaler
GetProcessInfoParams : github.com/mailru/easyjson.Marshaler
*GetProcessInfoParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetProcessInfoParams : github.com/mailru/easyjson.Unmarshaler
GetProcessInfoParams : encoding/json.Marshaler
*GetProcessInfoParams : encoding/json.Unmarshaler
func GetProcessInfo() *GetProcessInfoParams
GetProcessInfoReturns return values.
// An array of process info blocks.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GetProcessInfoReturns : github.com/goccy/go-json.Marshaler
*GetProcessInfoReturns : github.com/goccy/go-json.Unmarshaler
GetProcessInfoReturns : github.com/mailru/easyjson.Marshaler
*GetProcessInfoReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*GetProcessInfoReturns : github.com/mailru/easyjson.Unmarshaler
GetProcessInfoReturns : encoding/json.Marshaler
*GetProcessInfoReturns : encoding/json.Unmarshaler
GPUDevice describes a single graphics processor (GPU).
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#type-GPUDevice
// PCI ID of the GPU device, if available; 0 otherwise.
// String description of the GPU device, if the PCI ID is not available.
// String description of the GPU driver vendor.
// String description of the GPU driver version.
// Revision of the GPU, only available on Windows.
// Sub sys ID of the GPU, only available on Windows.
// PCI ID of the GPU vendor, if available; 0 otherwise.
// String description of the GPU vendor, if the PCI ID is not available.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GPUDevice : github.com/goccy/go-json.Marshaler
*GPUDevice : github.com/goccy/go-json.Unmarshaler
GPUDevice : github.com/mailru/easyjson.Marshaler
*GPUDevice : github.com/mailru/easyjson.MarshalerUnmarshaler
*GPUDevice : github.com/mailru/easyjson.Unmarshaler
GPUDevice : encoding/json.Marshaler
*GPUDevice : encoding/json.Unmarshaler
GPUInfo provides information about the GPU(s) on the system.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#type-GPUInfo
AuxAttributes easyjson.RawMessage
// The graphics devices on the system. Element 0 is the primary GPU.
// An optional array of GPU driver bug workarounds.
FeatureStatus easyjson.RawMessage
// Supported accelerated image decoding capabilities.
// Supported accelerated video decoding capabilities.
// Supported accelerated video encoding capabilities.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
GPUInfo : github.com/goccy/go-json.Marshaler
*GPUInfo : github.com/goccy/go-json.Unmarshaler
GPUInfo : github.com/mailru/easyjson.Marshaler
*GPUInfo : github.com/mailru/easyjson.MarshalerUnmarshaler
*GPUInfo : github.com/mailru/easyjson.Unmarshaler
GPUInfo : encoding/json.Marshaler
*GPUInfo : encoding/json.Unmarshaler
func (*GetInfoParams).Do(ctx context.Context) (gpu *GPUInfo, modelName string, modelVersion string, commandLine string, err error)
ImageDecodeAcceleratorCapability describes a supported image decoding
profile with its associated minimum and maximum resolutions and subsampling.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#type-ImageDecodeAcceleratorCapability
// Image coded, e.g. Jpeg.
// Maximum supported dimensions of the image in pixels.
// Minimum supported dimensions of the image in pixels.
// Optional array of supported subsampling formats, e.g. 4:2:0, if known.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ImageDecodeAcceleratorCapability : github.com/goccy/go-json.Marshaler
*ImageDecodeAcceleratorCapability : github.com/goccy/go-json.Unmarshaler
ImageDecodeAcceleratorCapability : github.com/mailru/easyjson.Marshaler
*ImageDecodeAcceleratorCapability : github.com/mailru/easyjson.MarshalerUnmarshaler
*ImageDecodeAcceleratorCapability : github.com/mailru/easyjson.Unmarshaler
ImageDecodeAcceleratorCapability : encoding/json.Marshaler
*ImageDecodeAcceleratorCapability : encoding/json.Unmarshaler
ImageType image format of a given image.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#type-ImageType
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ImageType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ImageType : github.com/goccy/go-json.Marshaler
*ImageType : github.com/goccy/go-json.Unmarshaler
ImageType : github.com/mailru/easyjson.Marshaler
*ImageType : github.com/mailru/easyjson.MarshalerUnmarshaler
*ImageType : github.com/mailru/easyjson.Unmarshaler
ImageType : encoding/json.Marshaler
*ImageType : encoding/json.Unmarshaler
ImageType : expvar.Var
ImageType : fmt.Stringer
const ImageTypeJpeg
const ImageTypeUnknown
const ImageTypeWebp
ProcessInfo represents process info.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#type-ProcessInfo
// Specifies cumulative CPU usage in seconds across all threads of the process since the process start.
// Specifies process id.
// Specifies process type.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ProcessInfo : github.com/goccy/go-json.Marshaler
*ProcessInfo : github.com/goccy/go-json.Unmarshaler
ProcessInfo : github.com/mailru/easyjson.Marshaler
*ProcessInfo : github.com/mailru/easyjson.MarshalerUnmarshaler
*ProcessInfo : github.com/mailru/easyjson.Unmarshaler
ProcessInfo : encoding/json.Marshaler
*ProcessInfo : encoding/json.Unmarshaler
func (*GetProcessInfoParams).Do(ctx context.Context) (processInfo []*ProcessInfo, err error)
Size describes the width and height dimensions of an entity.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#type-Size
// Height in pixels.
// Width in pixels.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Size : github.com/goccy/go-json.Marshaler
*Size : github.com/goccy/go-json.Unmarshaler
Size : github.com/mailru/easyjson.Marshaler
*Size : github.com/mailru/easyjson.MarshalerUnmarshaler
*Size : github.com/mailru/easyjson.Unmarshaler
Size : encoding/json.Marshaler
*Size : encoding/json.Unmarshaler
SubsamplingFormat yUV subsampling type of the pixels of a given image.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#type-SubsamplingFormat
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the SubsamplingFormat as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
SubsamplingFormat : github.com/goccy/go-json.Marshaler
*SubsamplingFormat : github.com/goccy/go-json.Unmarshaler
SubsamplingFormat : github.com/mailru/easyjson.Marshaler
*SubsamplingFormat : github.com/mailru/easyjson.MarshalerUnmarshaler
*SubsamplingFormat : github.com/mailru/easyjson.Unmarshaler
SubsamplingFormat : encoding/json.Marshaler
*SubsamplingFormat : encoding/json.Unmarshaler
SubsamplingFormat : expvar.Var
SubsamplingFormat : fmt.Stringer
const SubsamplingFormatYuv420
const SubsamplingFormatYuv422
const SubsamplingFormatYuv444
VideoDecodeAcceleratorCapability describes a supported video decoding
profile with its associated minimum and maximum resolutions.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#type-VideoDecodeAcceleratorCapability
// Maximum video dimensions in pixels supported for this |profile|.
// Minimum video dimensions in pixels supported for this |profile|.
// Video codec profile that is supported, e.g. VP9 Profile 2.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
VideoDecodeAcceleratorCapability : github.com/goccy/go-json.Marshaler
*VideoDecodeAcceleratorCapability : github.com/goccy/go-json.Unmarshaler
VideoDecodeAcceleratorCapability : github.com/mailru/easyjson.Marshaler
*VideoDecodeAcceleratorCapability : github.com/mailru/easyjson.MarshalerUnmarshaler
*VideoDecodeAcceleratorCapability : github.com/mailru/easyjson.Unmarshaler
VideoDecodeAcceleratorCapability : encoding/json.Marshaler
*VideoDecodeAcceleratorCapability : encoding/json.Unmarshaler
VideoEncodeAcceleratorCapability describes a supported video encoding
profile with its associated maximum resolution and maximum framerate.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#type-VideoEncodeAcceleratorCapability
MaxFramerateDenominator int64
// Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g. 24/1 fps, 24000/1001 fps, etc.
// Maximum video dimensions in pixels supported for this |profile|.
// Video codec profile that is supported, e.g H264 Main.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
VideoEncodeAcceleratorCapability : github.com/goccy/go-json.Marshaler
*VideoEncodeAcceleratorCapability : github.com/goccy/go-json.Unmarshaler
VideoEncodeAcceleratorCapability : github.com/mailru/easyjson.Marshaler
*VideoEncodeAcceleratorCapability : github.com/mailru/easyjson.MarshalerUnmarshaler
*VideoEncodeAcceleratorCapability : github.com/mailru/easyjson.Unmarshaler
VideoEncodeAcceleratorCapability : encoding/json.Marshaler
*VideoEncodeAcceleratorCapability : encoding/json.Unmarshaler
Package-Level Functions (total 3)
GetFeatureState returns information about the feature state.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#method-getFeatureState
parameters:
featureState
GetInfo returns information about the system.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#method-getInfo
GetProcessInfo returns information about all running processes.
See: https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo#method-getProcessInfo
Package-Level Constants (total 9)
Command names.
Command names.
Command names.
ImageType values.
ImageType values.
ImageType values.
SubsamplingFormat values.
SubsamplingFormat values.
SubsamplingFormat values.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |