// 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-enable func () *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-disable func () *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" )