Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandClear + const CommandDisable + const CommandEnable + const CommandStartViolationsReport + const CommandStopViolationsReport + type ClearParams struct + func Clear() *ClearParams + func (p *ClearParams) Do(ctx context.Context) (err error) + func (v *ClearParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ClearParams) UnmarshalJSON(data []byte) error + func (v ClearParams) MarshalEasyJSON(w *jwriter.Writer) + func (v ClearParams) MarshalJSON() ([]byte, error) + type DisableParams struct + func Disable() *DisableParams + func (p *DisableParams) Do(ctx context.Context) (err error) + func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *DisableParams) UnmarshalJSON(data []byte) error + func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v DisableParams) MarshalJSON() ([]byte, error) + type EnableParams struct + func Enable() *EnableParams + func (p *EnableParams) Do(ctx context.Context) (err error) + func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EnableParams) UnmarshalJSON(data []byte) error + func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) + func (v EnableParams) MarshalJSON() ([]byte, error) + type Entry struct + Args []*runtime.RemoteObject + Category EntryCategory + Level Level + LineNumber int64 + NetworkRequestID network.RequestID + Source Source + StackTrace *runtime.StackTrace + Text string + Timestamp *runtime.Timestamp + URL string + WorkerID string + func (v *Entry) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Entry) UnmarshalJSON(data []byte) error + func (v Entry) MarshalEasyJSON(w *jwriter.Writer) + func (v Entry) MarshalJSON() ([]byte, error) + type EntryCategory string + const EntryCategoryCors + func (t *EntryCategory) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *EntryCategory) UnmarshalJSON(buf []byte) error + func (t EntryCategory) MarshalEasyJSON(out *jwriter.Writer) + func (t EntryCategory) MarshalJSON() ([]byte, error) + func (t EntryCategory) String() string + type EventEntryAdded struct + Entry *Entry + func (v *EventEntryAdded) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventEntryAdded) UnmarshalJSON(data []byte) error + func (v EventEntryAdded) MarshalEasyJSON(w *jwriter.Writer) + func (v EventEntryAdded) MarshalJSON() ([]byte, error) + type Level string + const LevelError + const LevelInfo + const LevelVerbose + const LevelWarning + func (t *Level) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *Level) UnmarshalJSON(buf []byte) error + func (t Level) MarshalEasyJSON(out *jwriter.Writer) + func (t Level) MarshalJSON() ([]byte, error) + func (t Level) String() string + type Source string + const SourceAppcache + const SourceDeprecation + const SourceIntervention + const SourceJavascript + const SourceNetwork + const SourceOther + const SourceRecommendation + const SourceRendering + const SourceSecurity + const SourceStorage + const SourceViolation + const SourceWorker + const SourceXML + func (t *Source) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *Source) UnmarshalJSON(buf []byte) error + func (t Source) MarshalEasyJSON(out *jwriter.Writer) + func (t Source) MarshalJSON() ([]byte, error) + func (t Source) String() string + type StartViolationsReportParams struct + Config []*ViolationSetting + func StartViolationsReport(config []*ViolationSetting) *StartViolationsReportParams + func (p *StartViolationsReportParams) Do(ctx context.Context) (err error) + func (v *StartViolationsReportParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *StartViolationsReportParams) UnmarshalJSON(data []byte) error + func (v StartViolationsReportParams) MarshalEasyJSON(w *jwriter.Writer) + func (v StartViolationsReportParams) MarshalJSON() ([]byte, error) + type StopViolationsReportParams struct + func StopViolationsReport() *StopViolationsReportParams + func (p *StopViolationsReportParams) Do(ctx context.Context) (err error) + func (v *StopViolationsReportParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *StopViolationsReportParams) UnmarshalJSON(data []byte) error + func (v StopViolationsReportParams) MarshalEasyJSON(w *jwriter.Writer) + func (v StopViolationsReportParams) MarshalJSON() ([]byte, error) + type Violation string + const ViolationBlockedEvent + const ViolationBlockedParser + const ViolationDiscouragedAPIUse + const ViolationHandler + const ViolationLongLayout + const ViolationLongTask + const ViolationRecurringHandler + func (t *Violation) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *Violation) UnmarshalJSON(buf []byte) error + func (t Violation) MarshalEasyJSON(out *jwriter.Writer) + func (t Violation) MarshalJSON() ([]byte, error) + func (t Violation) String() string + type ViolationSetting struct + Name Violation + Threshold float64 + func (v *ViolationSetting) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *ViolationSetting) UnmarshalJSON(data []byte) error + func (v ViolationSetting) MarshalEasyJSON(w *jwriter.Writer) + func (v ViolationSetting) MarshalJSON() ([]byte, error)