Source File
preload.go
Belonging Package
github.com/chromedp/cdproto/preload
// Package preload provides the Chrome DevTools Protocol// commands, types, and events for the Preload domain.//// Generated by the cdproto-gen command.package preload// Code generated by cdproto-gen. DO NOT EDIT.import ()// EnableParams [no description].type EnableParams struct{}// Enable [no description].//// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#method-enablefunc () *EnableParams {return &EnableParams{}}// Do executes Preload.enable against the provided context.func ( *EnableParams) ( context.Context) ( error) {return cdp.Execute(, CommandEnable, nil, nil)}// DisableParams [no description].type DisableParams struct{}// Disable [no description].//// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#method-disablefunc () *DisableParams {return &DisableParams{}}// Do executes Preload.disable against the provided context.func ( *DisableParams) ( context.Context) ( error) {return cdp.Execute(, CommandDisable, nil, nil)}// Command names.const (CommandEnable = "Preload.enable"CommandDisable = "Preload.disable")
![]() |
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. |