cdproto: github.com/chromedp/cdproto/audits Index | Files

package audits

import "github.com/chromedp/cdproto/audits"

Package audits provides the Chrome DevTools Protocol commands, types, and events for the Audits domain.

Audits domain allows investigation of page violations and possible improvements.

Generated by the cdproto-gen command.

Index

Package Files

audits.go easyjson.go events.go types.go

Constants

const (
    CommandGetEncodedResponse = "Audits.getEncodedResponse"
    CommandDisable            = "Audits.disable"
    CommandEnable             = "Audits.enable"
)

Command names.

type AffectedCookie Uses

type AffectedCookie struct {
    Name   string `json:"name"` // The following three properties uniquely identify a cookie
    Path   string `json:"path"`
    Domain string `json:"domain"`
}

AffectedCookie information about a cookie that is affected by an inspector issue.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-AffectedCookie

func (AffectedCookie) MarshalEasyJSON Uses

func (v AffectedCookie) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AffectedCookie) MarshalJSON Uses

func (v AffectedCookie) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AffectedCookie) UnmarshalEasyJSON Uses

func (v *AffectedCookie) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AffectedCookie) UnmarshalJSON Uses

func (v *AffectedCookie) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AffectedFrame Uses

type AffectedFrame struct {
    FrameID cdp.FrameID `json:"frameId"`
}

AffectedFrame information about the frame affected by an inspector issue.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-AffectedFrame

func (AffectedFrame) MarshalEasyJSON Uses

func (v AffectedFrame) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AffectedFrame) MarshalJSON Uses

func (v AffectedFrame) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AffectedFrame) UnmarshalEasyJSON Uses

func (v *AffectedFrame) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AffectedFrame) UnmarshalJSON Uses

func (v *AffectedFrame) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type AffectedRequest Uses

type AffectedRequest struct {
    RequestID network.RequestID `json:"requestId"` // The unique request id.
    URL       string            `json:"url,omitempty"`
}

AffectedRequest information about a request that is affected by an inspector issue.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-AffectedRequest

func (AffectedRequest) MarshalEasyJSON Uses

func (v AffectedRequest) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (AffectedRequest) MarshalJSON Uses

func (v AffectedRequest) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*AffectedRequest) UnmarshalEasyJSON Uses

func (v *AffectedRequest) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*AffectedRequest) UnmarshalJSON Uses

func (v *AffectedRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BlockedByResponseIssueDetails Uses

type BlockedByResponseIssueDetails struct {
    Request      *AffectedRequest        `json:"request"`
    ParentFrame  *AffectedFrame          `json:"parentFrame,omitempty"`
    BlockedFrame *AffectedFrame          `json:"blockedFrame,omitempty"`
    Reason       BlockedByResponseReason `json:"reason"`
}

BlockedByResponseIssueDetails details for a request that has been blocked with the BLOCKED_BY_RESPONSE code. Currently only used for COEP/COOP, but may be extended to include some CSP errors in the future.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-BlockedByResponseIssueDetails

func (BlockedByResponseIssueDetails) MarshalEasyJSON Uses

func (v BlockedByResponseIssueDetails) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (BlockedByResponseIssueDetails) MarshalJSON Uses

func (v BlockedByResponseIssueDetails) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*BlockedByResponseIssueDetails) UnmarshalEasyJSON Uses

func (v *BlockedByResponseIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*BlockedByResponseIssueDetails) UnmarshalJSON Uses

func (v *BlockedByResponseIssueDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type BlockedByResponseReason Uses

type BlockedByResponseReason string

BlockedByResponseReason enum indicating the reason a response has been blocked. These reasons are refinements of the net error BLOCKED_BY_RESPONSE.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-BlockedByResponseReason

const (
    BlockedByResponseReasonCoepFrameResourceNeedsCoepHeader                  BlockedByResponseReason = "CoepFrameResourceNeedsCoepHeader"
    BlockedByResponseReasonCoopSandboxedIFrameCannotNavigateToCoopPage       BlockedByResponseReason = "CoopSandboxedIFrameCannotNavigateToCoopPage"
    BlockedByResponseReasonCorpNotSameOrigin                                 BlockedByResponseReason = "CorpNotSameOrigin"
    BlockedByResponseReasonCorpNotSameOriginAfterDefaultedToSameOriginByCoep BlockedByResponseReason = "CorpNotSameOriginAfterDefaultedToSameOriginByCoep"
    BlockedByResponseReasonCorpNotSameSite                                   BlockedByResponseReason = "CorpNotSameSite"
)

BlockedByResponseReason values.

func (BlockedByResponseReason) MarshalEasyJSON Uses

func (t BlockedByResponseReason) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (BlockedByResponseReason) MarshalJSON Uses

func (t BlockedByResponseReason) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (BlockedByResponseReason) String Uses

func (t BlockedByResponseReason) String() string

String returns the BlockedByResponseReason as string value.

func (*BlockedByResponseReason) UnmarshalEasyJSON Uses

func (t *BlockedByResponseReason) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*BlockedByResponseReason) UnmarshalJSON Uses

func (t *BlockedByResponseReason) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type ContentSecurityPolicyIssueDetails Uses

type ContentSecurityPolicyIssueDetails struct {
    BlockedURL                         string                             `json:"blockedURL,omitempty"` // The url not included in allowed sources.
    ViolatedDirective                  string                             `json:"violatedDirective"`    // Specific directive that is violated, causing the CSP issue.
    IsReportOnly                       bool                               `json:"isReportOnly"`
    ContentSecurityPolicyViolationType ContentSecurityPolicyViolationType `json:"contentSecurityPolicyViolationType"`
    FrameAncestor                      *AffectedFrame                     `json:"frameAncestor,omitempty"`
    SourceCodeLocation                 *SourceCodeLocation                `json:"sourceCodeLocation,omitempty"`
    ViolatingNodeID                    cdp.BackendNodeID                  `json:"violatingNodeId,omitempty"`
}

ContentSecurityPolicyIssueDetails [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-ContentSecurityPolicyIssueDetails

func (ContentSecurityPolicyIssueDetails) MarshalEasyJSON Uses

func (v ContentSecurityPolicyIssueDetails) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (ContentSecurityPolicyIssueDetails) MarshalJSON Uses

func (v ContentSecurityPolicyIssueDetails) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*ContentSecurityPolicyIssueDetails) UnmarshalEasyJSON Uses

func (v *ContentSecurityPolicyIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*ContentSecurityPolicyIssueDetails) UnmarshalJSON Uses

func (v *ContentSecurityPolicyIssueDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type ContentSecurityPolicyViolationType Uses

type ContentSecurityPolicyViolationType string

ContentSecurityPolicyViolationType [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-ContentSecurityPolicyViolationType

const (
    ContentSecurityPolicyViolationTypeKInlineViolation             ContentSecurityPolicyViolationType = "kInlineViolation"
    ContentSecurityPolicyViolationTypeKEvalViolation               ContentSecurityPolicyViolationType = "kEvalViolation"
    ContentSecurityPolicyViolationTypeKURLViolation                ContentSecurityPolicyViolationType = "kURLViolation"
    ContentSecurityPolicyViolationTypeKTrustedTypesSinkViolation   ContentSecurityPolicyViolationType = "kTrustedTypesSinkViolation"
    ContentSecurityPolicyViolationTypeKTrustedTypesPolicyViolation ContentSecurityPolicyViolationType = "kTrustedTypesPolicyViolation"
)

ContentSecurityPolicyViolationType values.

func (ContentSecurityPolicyViolationType) MarshalEasyJSON Uses

func (t ContentSecurityPolicyViolationType) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (ContentSecurityPolicyViolationType) MarshalJSON Uses

func (t ContentSecurityPolicyViolationType) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (ContentSecurityPolicyViolationType) String Uses

func (t ContentSecurityPolicyViolationType) String() string

String returns the ContentSecurityPolicyViolationType as string value.

func (*ContentSecurityPolicyViolationType) UnmarshalEasyJSON Uses

func (t *ContentSecurityPolicyViolationType) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*ContentSecurityPolicyViolationType) UnmarshalJSON Uses

func (t *ContentSecurityPolicyViolationType) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type DisableParams Uses

type DisableParams struct{}

DisableParams disables issues domain, prevents further issues from being reported to the client.

func Disable Uses

func Disable() *DisableParams

Disable disables issues domain, prevents further issues from being reported to the client.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#method-disable

func (*DisableParams) Do Uses

func (p *DisableParams) Do(ctx context.Context) (err error)

Do executes Audits.disable against the provided context.

func (DisableParams) MarshalEasyJSON Uses

func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (DisableParams) MarshalJSON Uses

func (v DisableParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*DisableParams) UnmarshalEasyJSON Uses

func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*DisableParams) UnmarshalJSON Uses

func (v *DisableParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EnableParams Uses

type EnableParams struct{}

EnableParams enables issues domain, sends the issues collected so far to the client by means of the issueAdded event.

func Enable Uses

func Enable() *EnableParams

Enable enables issues domain, sends the issues collected so far to the client by means of the issueAdded event.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#method-enable

func (*EnableParams) Do Uses

func (p *EnableParams) Do(ctx context.Context) (err error)

Do executes Audits.enable against the provided context.

func (EnableParams) MarshalEasyJSON Uses

func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EnableParams) MarshalJSON Uses

func (v EnableParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EnableParams) UnmarshalEasyJSON Uses

func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EnableParams) UnmarshalJSON Uses

func (v *EnableParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type EventIssueAdded Uses

type EventIssueAdded struct {
    Issue *InspectorIssue `json:"issue"`
}

EventIssueAdded [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#event-issueAdded

func (EventIssueAdded) MarshalEasyJSON Uses

func (v EventIssueAdded) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (EventIssueAdded) MarshalJSON Uses

func (v EventIssueAdded) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*EventIssueAdded) UnmarshalEasyJSON Uses

func (v *EventIssueAdded) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*EventIssueAdded) UnmarshalJSON Uses

func (v *EventIssueAdded) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type GetEncodedResponseEncoding Uses

type GetEncodedResponseEncoding string

GetEncodedResponseEncoding the encoding to use.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#method-getEncodedResponse

const (
    GetEncodedResponseEncodingWebp GetEncodedResponseEncoding = "webp"
    GetEncodedResponseEncodingJpeg GetEncodedResponseEncoding = "jpeg"
    GetEncodedResponseEncodingPng  GetEncodedResponseEncoding = "png"
)

GetEncodedResponseEncoding values.

func (GetEncodedResponseEncoding) MarshalEasyJSON Uses

func (t GetEncodedResponseEncoding) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (GetEncodedResponseEncoding) MarshalJSON Uses

func (t GetEncodedResponseEncoding) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (GetEncodedResponseEncoding) String Uses

func (t GetEncodedResponseEncoding) String() string

String returns the GetEncodedResponseEncoding as string value.

func (*GetEncodedResponseEncoding) UnmarshalEasyJSON Uses

func (t *GetEncodedResponseEncoding) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*GetEncodedResponseEncoding) UnmarshalJSON Uses

func (t *GetEncodedResponseEncoding) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type GetEncodedResponseParams Uses

type GetEncodedResponseParams struct {
    RequestID network.RequestID          `json:"requestId"`          // Identifier of the network request to get content for.
    Encoding  GetEncodedResponseEncoding `json:"encoding"`           // The encoding to use.
    Quality   float64                    `json:"quality,omitempty"`  // The quality of the encoding (0-1). (defaults to 1)
    SizeOnly  bool                       `json:"sizeOnly,omitempty"` // Whether to only return the size information (defaults to false).
}

GetEncodedResponseParams returns the response body and size if it were re-encoded with the specified settings. Only applies to images.

func GetEncodedResponse Uses

func GetEncodedResponse(requestID network.RequestID, encoding GetEncodedResponseEncoding) *GetEncodedResponseParams

GetEncodedResponse returns the response body and size if it were re-encoded with the specified settings. Only applies to images.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#method-getEncodedResponse

parameters:

requestID - Identifier of the network request to get content for.
encoding - The encoding to use.

func (*GetEncodedResponseParams) Do Uses

func (p *GetEncodedResponseParams) Do(ctx context.Context) (body []byte, originalSize int64, encodedSize int64, err error)

Do executes Audits.getEncodedResponse against the provided context.

returns:

body - The encoded body as a base64 string. Omitted if sizeOnly is true.
originalSize - Size before re-encoding.
encodedSize - Size after re-encoding.

func (GetEncodedResponseParams) MarshalEasyJSON Uses

func (v GetEncodedResponseParams) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetEncodedResponseParams) MarshalJSON Uses

func (v GetEncodedResponseParams) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetEncodedResponseParams) UnmarshalEasyJSON Uses

func (v *GetEncodedResponseParams) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetEncodedResponseParams) UnmarshalJSON Uses

func (v *GetEncodedResponseParams) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

func (GetEncodedResponseParams) WithQuality Uses

func (p GetEncodedResponseParams) WithQuality(quality float64) *GetEncodedResponseParams

WithQuality the quality of the encoding (0-1). (defaults to 1).

func (GetEncodedResponseParams) WithSizeOnly Uses

func (p GetEncodedResponseParams) WithSizeOnly(sizeOnly bool) *GetEncodedResponseParams

WithSizeOnly whether to only return the size information (defaults to false).

type GetEncodedResponseReturns Uses

type GetEncodedResponseReturns struct {
    Body         string `json:"body,omitempty"`         // The encoded body as a base64 string. Omitted if sizeOnly is true.
    OriginalSize int64  `json:"originalSize,omitempty"` // Size before re-encoding.
    EncodedSize  int64  `json:"encodedSize,omitempty"`  // Size after re-encoding.
}

GetEncodedResponseReturns return values.

func (GetEncodedResponseReturns) MarshalEasyJSON Uses

func (v GetEncodedResponseReturns) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (GetEncodedResponseReturns) MarshalJSON Uses

func (v GetEncodedResponseReturns) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*GetEncodedResponseReturns) UnmarshalEasyJSON Uses

func (v *GetEncodedResponseReturns) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*GetEncodedResponseReturns) UnmarshalJSON Uses

func (v *GetEncodedResponseReturns) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type HeavyAdIssueDetails Uses

type HeavyAdIssueDetails struct {
    Resolution HeavyAdResolutionStatus `json:"resolution"` // The resolution status, either blocking the content or warning.
    Reason     HeavyAdReason           `json:"reason"`     // The reason the ad was blocked, total network or cpu or peak cpu.
    Frame      *AffectedFrame          `json:"frame"`      // The frame that was blocked.
}

HeavyAdIssueDetails [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-HeavyAdIssueDetails

func (HeavyAdIssueDetails) MarshalEasyJSON Uses

func (v HeavyAdIssueDetails) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (HeavyAdIssueDetails) MarshalJSON Uses

func (v HeavyAdIssueDetails) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*HeavyAdIssueDetails) UnmarshalEasyJSON Uses

func (v *HeavyAdIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*HeavyAdIssueDetails) UnmarshalJSON Uses

func (v *HeavyAdIssueDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type HeavyAdReason Uses

type HeavyAdReason string

HeavyAdReason [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-HeavyAdReason

const (
    HeavyAdReasonNetworkTotalLimit HeavyAdReason = "NetworkTotalLimit"
    HeavyAdReasonCPUTotalLimit     HeavyAdReason = "CpuTotalLimit"
    HeavyAdReasonCPUPeakLimit      HeavyAdReason = "CpuPeakLimit"
)

HeavyAdReason values.

func (HeavyAdReason) MarshalEasyJSON Uses

func (t HeavyAdReason) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (HeavyAdReason) MarshalJSON Uses

func (t HeavyAdReason) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (HeavyAdReason) String Uses

func (t HeavyAdReason) String() string

String returns the HeavyAdReason as string value.

func (*HeavyAdReason) UnmarshalEasyJSON Uses

func (t *HeavyAdReason) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*HeavyAdReason) UnmarshalJSON Uses

func (t *HeavyAdReason) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type HeavyAdResolutionStatus Uses

type HeavyAdResolutionStatus string

HeavyAdResolutionStatus [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-HeavyAdResolutionStatus

const (
    HeavyAdResolutionStatusHeavyAdBlocked HeavyAdResolutionStatus = "HeavyAdBlocked"
    HeavyAdResolutionStatusHeavyAdWarning HeavyAdResolutionStatus = "HeavyAdWarning"
)

HeavyAdResolutionStatus values.

func (HeavyAdResolutionStatus) MarshalEasyJSON Uses

func (t HeavyAdResolutionStatus) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (HeavyAdResolutionStatus) MarshalJSON Uses

func (t HeavyAdResolutionStatus) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (HeavyAdResolutionStatus) String Uses

func (t HeavyAdResolutionStatus) String() string

String returns the HeavyAdResolutionStatus as string value.

func (*HeavyAdResolutionStatus) UnmarshalEasyJSON Uses

func (t *HeavyAdResolutionStatus) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*HeavyAdResolutionStatus) UnmarshalJSON Uses

func (t *HeavyAdResolutionStatus) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type InspectorIssue Uses

type InspectorIssue struct {
    Code    InspectorIssueCode     `json:"code"`
    Details *InspectorIssueDetails `json:"details"`
}

InspectorIssue an inspector issue reported from the back-end.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-InspectorIssue

func (InspectorIssue) MarshalEasyJSON Uses

func (v InspectorIssue) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (InspectorIssue) MarshalJSON Uses

func (v InspectorIssue) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*InspectorIssue) UnmarshalEasyJSON Uses

func (v *InspectorIssue) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*InspectorIssue) UnmarshalJSON Uses

func (v *InspectorIssue) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type InspectorIssueCode Uses

type InspectorIssueCode string

InspectorIssueCode a unique identifier for the type of issue. Each type may use one of the optional fields in InspectorIssueDetails to convey more specific information about the kind of issue.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-InspectorIssueCode

const (
    InspectorIssueCodeSameSiteCookieIssue            InspectorIssueCode = "SameSiteCookieIssue"
    InspectorIssueCodeMixedContentIssue              InspectorIssueCode = "MixedContentIssue"
    InspectorIssueCodeBlockedByResponseIssue         InspectorIssueCode = "BlockedByResponseIssue"
    InspectorIssueCodeHeavyAdIssue                   InspectorIssueCode = "HeavyAdIssue"
    InspectorIssueCodeContentSecurityPolicyIssue     InspectorIssueCode = "ContentSecurityPolicyIssue"
    InspectorIssueCodeSharedArrayBufferTransferIssue InspectorIssueCode = "SharedArrayBufferTransferIssue"
    InspectorIssueCodeTrustedWebActivityIssue        InspectorIssueCode = "TrustedWebActivityIssue"
)

InspectorIssueCode values.

func (InspectorIssueCode) MarshalEasyJSON Uses

func (t InspectorIssueCode) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (InspectorIssueCode) MarshalJSON Uses

func (t InspectorIssueCode) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (InspectorIssueCode) String Uses

func (t InspectorIssueCode) String() string

String returns the InspectorIssueCode as string value.

func (*InspectorIssueCode) UnmarshalEasyJSON Uses

func (t *InspectorIssueCode) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*InspectorIssueCode) UnmarshalJSON Uses

func (t *InspectorIssueCode) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type InspectorIssueDetails Uses

type InspectorIssueDetails struct {
    SameSiteCookieIssueDetails            *SameSiteCookieIssueDetails            `json:"sameSiteCookieIssueDetails,omitempty"`
    MixedContentIssueDetails              *MixedContentIssueDetails              `json:"mixedContentIssueDetails,omitempty"`
    BlockedByResponseIssueDetails         *BlockedByResponseIssueDetails         `json:"blockedByResponseIssueDetails,omitempty"`
    HeavyAdIssueDetails                   *HeavyAdIssueDetails                   `json:"heavyAdIssueDetails,omitempty"`
    ContentSecurityPolicyIssueDetails     *ContentSecurityPolicyIssueDetails     `json:"contentSecurityPolicyIssueDetails,omitempty"`
    SharedArrayBufferTransferIssueDetails *SharedArrayBufferTransferIssueDetails `json:"sharedArrayBufferTransferIssueDetails,omitempty"`
    TwaQualityEnforcementDetails          *TrustedWebActivityIssueDetails        `json:"twaQualityEnforcementDetails,omitempty"`
}

InspectorIssueDetails this struct holds a list of optional fields with additional information specific to the kind of issue. When adding a new issue code, please also add a new optional field to this type.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-InspectorIssueDetails

func (InspectorIssueDetails) MarshalEasyJSON Uses

func (v InspectorIssueDetails) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (InspectorIssueDetails) MarshalJSON Uses

func (v InspectorIssueDetails) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*InspectorIssueDetails) UnmarshalEasyJSON Uses

func (v *InspectorIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*InspectorIssueDetails) UnmarshalJSON Uses

func (v *InspectorIssueDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type MixedContentIssueDetails Uses

type MixedContentIssueDetails struct {
    ResourceType     MixedContentResourceType     `json:"resourceType,omitempty"` // The type of resource causing the mixed content issue (css, js, iframe, form,...). Marked as optional because it is mapped to from blink::mojom::RequestContextType, which will be replaced by network::mojom::RequestDestination
    ResolutionStatus MixedContentResolutionStatus `json:"resolutionStatus"`       // The way the mixed content issue is being resolved.
    InsecureURL      string                       `json:"insecureURL"`            // The unsafe http url causing the mixed content issue.
    MainResourceURL  string                       `json:"mainResourceURL"`        // The url responsible for the call to an unsafe url.
    Request          *AffectedRequest             `json:"request,omitempty"`      // The mixed content request. Does not always exist (e.g. for unsafe form submission urls).
    Frame            *AffectedFrame               `json:"frame,omitempty"`        // Optional because not every mixed content issue is necessarily linked to a frame.
}

MixedContentIssueDetails [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-MixedContentIssueDetails

func (MixedContentIssueDetails) MarshalEasyJSON Uses

func (v MixedContentIssueDetails) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (MixedContentIssueDetails) MarshalJSON Uses

func (v MixedContentIssueDetails) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*MixedContentIssueDetails) UnmarshalEasyJSON Uses

func (v *MixedContentIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*MixedContentIssueDetails) UnmarshalJSON Uses

func (v *MixedContentIssueDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type MixedContentResolutionStatus Uses

type MixedContentResolutionStatus string

MixedContentResolutionStatus [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-MixedContentResolutionStatus

const (
    MixedContentResolutionStatusMixedContentBlocked               MixedContentResolutionStatus = "MixedContentBlocked"
    MixedContentResolutionStatusMixedContentAutomaticallyUpgraded MixedContentResolutionStatus = "MixedContentAutomaticallyUpgraded"
    MixedContentResolutionStatusMixedContentWarning               MixedContentResolutionStatus = "MixedContentWarning"
)

MixedContentResolutionStatus values.

func (MixedContentResolutionStatus) MarshalEasyJSON Uses

func (t MixedContentResolutionStatus) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (MixedContentResolutionStatus) MarshalJSON Uses

func (t MixedContentResolutionStatus) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (MixedContentResolutionStatus) String Uses

func (t MixedContentResolutionStatus) String() string

String returns the MixedContentResolutionStatus as string value.

func (*MixedContentResolutionStatus) UnmarshalEasyJSON Uses

func (t *MixedContentResolutionStatus) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*MixedContentResolutionStatus) UnmarshalJSON Uses

func (t *MixedContentResolutionStatus) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type MixedContentResourceType Uses

type MixedContentResourceType string

MixedContentResourceType [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-MixedContentResourceType

const (
    MixedContentResourceTypeAudio          MixedContentResourceType = "Audio"
    MixedContentResourceTypeBeacon         MixedContentResourceType = "Beacon"
    MixedContentResourceTypeCSPReport      MixedContentResourceType = "CSPReport"
    MixedContentResourceTypeDownload       MixedContentResourceType = "Download"
    MixedContentResourceTypeEventSource    MixedContentResourceType = "EventSource"
    MixedContentResourceTypeFavicon        MixedContentResourceType = "Favicon"
    MixedContentResourceTypeFont           MixedContentResourceType = "Font"
    MixedContentResourceTypeForm           MixedContentResourceType = "Form"
    MixedContentResourceTypeFrame          MixedContentResourceType = "Frame"
    MixedContentResourceTypeImage          MixedContentResourceType = "Image"
    MixedContentResourceTypeImport         MixedContentResourceType = "Import"
    MixedContentResourceTypeManifest       MixedContentResourceType = "Manifest"
    MixedContentResourceTypePing           MixedContentResourceType = "Ping"
    MixedContentResourceTypePluginData     MixedContentResourceType = "PluginData"
    MixedContentResourceTypePluginResource MixedContentResourceType = "PluginResource"
    MixedContentResourceTypePrefetch       MixedContentResourceType = "Prefetch"
    MixedContentResourceTypeResource       MixedContentResourceType = "Resource"
    MixedContentResourceTypeScript         MixedContentResourceType = "Script"
    MixedContentResourceTypeServiceWorker  MixedContentResourceType = "ServiceWorker"
    MixedContentResourceTypeSharedWorker   MixedContentResourceType = "SharedWorker"
    MixedContentResourceTypeStylesheet     MixedContentResourceType = "Stylesheet"
    MixedContentResourceTypeTrack          MixedContentResourceType = "Track"
    MixedContentResourceTypeVideo          MixedContentResourceType = "Video"
    MixedContentResourceTypeWorker         MixedContentResourceType = "Worker"
    MixedContentResourceTypeXMLHTTPRequest MixedContentResourceType = "XMLHttpRequest"
    MixedContentResourceTypeXSLT           MixedContentResourceType = "XSLT"
)

MixedContentResourceType values.

func (MixedContentResourceType) MarshalEasyJSON Uses

func (t MixedContentResourceType) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (MixedContentResourceType) MarshalJSON Uses

func (t MixedContentResourceType) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (MixedContentResourceType) String Uses

func (t MixedContentResourceType) String() string

String returns the MixedContentResourceType as string value.

func (*MixedContentResourceType) UnmarshalEasyJSON Uses

func (t *MixedContentResourceType) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*MixedContentResourceType) UnmarshalJSON Uses

func (t *MixedContentResourceType) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type SameSiteCookieExclusionReason Uses

type SameSiteCookieExclusionReason string

SameSiteCookieExclusionReason [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-SameSiteCookieExclusionReason

const (
    SameSiteCookieExclusionReasonExcludeSameSiteUnspecifiedTreatedAsLax SameSiteCookieExclusionReason = "ExcludeSameSiteUnspecifiedTreatedAsLax"
    SameSiteCookieExclusionReasonExcludeSameSiteNoneInsecure            SameSiteCookieExclusionReason = "ExcludeSameSiteNoneInsecure"
    SameSiteCookieExclusionReasonExcludeSameSiteLax                     SameSiteCookieExclusionReason = "ExcludeSameSiteLax"
    SameSiteCookieExclusionReasonExcludeSameSiteStrict                  SameSiteCookieExclusionReason = "ExcludeSameSiteStrict"
)

SameSiteCookieExclusionReason values.

func (SameSiteCookieExclusionReason) MarshalEasyJSON Uses

func (t SameSiteCookieExclusionReason) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (SameSiteCookieExclusionReason) MarshalJSON Uses

func (t SameSiteCookieExclusionReason) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (SameSiteCookieExclusionReason) String Uses

func (t SameSiteCookieExclusionReason) String() string

String returns the SameSiteCookieExclusionReason as string value.

func (*SameSiteCookieExclusionReason) UnmarshalEasyJSON Uses

func (t *SameSiteCookieExclusionReason) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*SameSiteCookieExclusionReason) UnmarshalJSON Uses

func (t *SameSiteCookieExclusionReason) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type SameSiteCookieIssueDetails Uses

type SameSiteCookieIssueDetails struct {
    Cookie                 *AffectedCookie                 `json:"cookie"`
    CookieWarningReasons   []SameSiteCookieWarningReason   `json:"cookieWarningReasons"`
    CookieExclusionReasons []SameSiteCookieExclusionReason `json:"cookieExclusionReasons"`
    Operation              SameSiteCookieOperation         `json:"operation"` // Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.
    SiteForCookies         string                          `json:"siteForCookies,omitempty"`
    CookieURL              string                          `json:"cookieUrl,omitempty"`
    Request                *AffectedRequest                `json:"request,omitempty"`
}

SameSiteCookieIssueDetails this information is currently necessary, as the front-end has a difficult time finding a specific cookie. With this, we can convey specific error information without the cookie.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-SameSiteCookieIssueDetails

func (SameSiteCookieIssueDetails) MarshalEasyJSON Uses

func (v SameSiteCookieIssueDetails) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SameSiteCookieIssueDetails) MarshalJSON Uses

func (v SameSiteCookieIssueDetails) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SameSiteCookieIssueDetails) UnmarshalEasyJSON Uses

func (v *SameSiteCookieIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SameSiteCookieIssueDetails) UnmarshalJSON Uses

func (v *SameSiteCookieIssueDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SameSiteCookieOperation Uses

type SameSiteCookieOperation string

SameSiteCookieOperation [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-SameSiteCookieOperation

const (
    SameSiteCookieOperationSetCookie  SameSiteCookieOperation = "SetCookie"
    SameSiteCookieOperationReadCookie SameSiteCookieOperation = "ReadCookie"
)

SameSiteCookieOperation values.

func (SameSiteCookieOperation) MarshalEasyJSON Uses

func (t SameSiteCookieOperation) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (SameSiteCookieOperation) MarshalJSON Uses

func (t SameSiteCookieOperation) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (SameSiteCookieOperation) String Uses

func (t SameSiteCookieOperation) String() string

String returns the SameSiteCookieOperation as string value.

func (*SameSiteCookieOperation) UnmarshalEasyJSON Uses

func (t *SameSiteCookieOperation) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*SameSiteCookieOperation) UnmarshalJSON Uses

func (t *SameSiteCookieOperation) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type SameSiteCookieWarningReason Uses

type SameSiteCookieWarningReason string

SameSiteCookieWarningReason [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-SameSiteCookieWarningReason

const (
    SameSiteCookieWarningReasonWarnSameSiteUnspecifiedCrossSiteContext SameSiteCookieWarningReason = "WarnSameSiteUnspecifiedCrossSiteContext"
    SameSiteCookieWarningReasonWarnSameSiteNoneInsecure                SameSiteCookieWarningReason = "WarnSameSiteNoneInsecure"
    SameSiteCookieWarningReasonWarnSameSiteUnspecifiedLaxAllowUnsafe   SameSiteCookieWarningReason = "WarnSameSiteUnspecifiedLaxAllowUnsafe"
    SameSiteCookieWarningReasonWarnSameSiteStrictLaxDowngradeStrict    SameSiteCookieWarningReason = "WarnSameSiteStrictLaxDowngradeStrict"
    SameSiteCookieWarningReasonWarnSameSiteStrictCrossDowngradeStrict  SameSiteCookieWarningReason = "WarnSameSiteStrictCrossDowngradeStrict"
    SameSiteCookieWarningReasonWarnSameSiteStrictCrossDowngradeLax     SameSiteCookieWarningReason = "WarnSameSiteStrictCrossDowngradeLax"
    SameSiteCookieWarningReasonWarnSameSiteLaxCrossDowngradeStrict     SameSiteCookieWarningReason = "WarnSameSiteLaxCrossDowngradeStrict"
    SameSiteCookieWarningReasonWarnSameSiteLaxCrossDowngradeLax        SameSiteCookieWarningReason = "WarnSameSiteLaxCrossDowngradeLax"
)

SameSiteCookieWarningReason values.

func (SameSiteCookieWarningReason) MarshalEasyJSON Uses

func (t SameSiteCookieWarningReason) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (SameSiteCookieWarningReason) MarshalJSON Uses

func (t SameSiteCookieWarningReason) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (SameSiteCookieWarningReason) String Uses

func (t SameSiteCookieWarningReason) String() string

String returns the SameSiteCookieWarningReason as string value.

func (*SameSiteCookieWarningReason) UnmarshalEasyJSON Uses

func (t *SameSiteCookieWarningReason) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*SameSiteCookieWarningReason) UnmarshalJSON Uses

func (t *SameSiteCookieWarningReason) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

type SharedArrayBufferTransferIssueDetails Uses

type SharedArrayBufferTransferIssueDetails struct {
    SourceCodeLocation *SourceCodeLocation `json:"sourceCodeLocation"`
    IsWarning          bool                `json:"isWarning"`
}

SharedArrayBufferTransferIssueDetails details for a request that has been blocked with the BLOCKED_BY_RESPONSE code. Currently only used for COEP/COOP, but may be extended to include some CSP errors in the future.

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-SharedArrayBufferTransferIssueDetails

func (SharedArrayBufferTransferIssueDetails) MarshalEasyJSON Uses

func (v SharedArrayBufferTransferIssueDetails) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SharedArrayBufferTransferIssueDetails) MarshalJSON Uses

func (v SharedArrayBufferTransferIssueDetails) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SharedArrayBufferTransferIssueDetails) UnmarshalEasyJSON Uses

func (v *SharedArrayBufferTransferIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SharedArrayBufferTransferIssueDetails) UnmarshalJSON Uses

func (v *SharedArrayBufferTransferIssueDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type SourceCodeLocation Uses

type SourceCodeLocation struct {
    URL          string `json:"url"`
    LineNumber   int64  `json:"lineNumber"`
    ColumnNumber int64  `json:"columnNumber"`
}

SourceCodeLocation [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-SourceCodeLocation

func (SourceCodeLocation) MarshalEasyJSON Uses

func (v SourceCodeLocation) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (SourceCodeLocation) MarshalJSON Uses

func (v SourceCodeLocation) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*SourceCodeLocation) UnmarshalEasyJSON Uses

func (v *SourceCodeLocation) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*SourceCodeLocation) UnmarshalJSON Uses

func (v *SourceCodeLocation) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type TrustedWebActivityIssueDetails Uses

type TrustedWebActivityIssueDetails struct {
    URL            string                             `json:"url"` // The url that triggers the violation.
    ViolationType  TwaQualityEnforcementViolationType `json:"violationType"`
    HTTPStatusCode int64                              `json:"httpStatusCode,omitempty"`
    PackageName    string                             `json:"packageName,omitempty"` // The package name of the Trusted Web Activity client app. This field is only used when violation type is kDigitalAssetLinks.
    Signature      string                             `json:"signature,omitempty"`   // The signature of the Trusted Web Activity client app. This field is only used when violation type is kDigitalAssetLinks.
}

TrustedWebActivityIssueDetails [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-TrustedWebActivityIssueDetails

func (TrustedWebActivityIssueDetails) MarshalEasyJSON Uses

func (v TrustedWebActivityIssueDetails) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (TrustedWebActivityIssueDetails) MarshalJSON Uses

func (v TrustedWebActivityIssueDetails) MarshalJSON() ([]byte, error)

MarshalJSON supports json.Marshaler interface

func (*TrustedWebActivityIssueDetails) UnmarshalEasyJSON Uses

func (v *TrustedWebActivityIssueDetails) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

func (*TrustedWebActivityIssueDetails) UnmarshalJSON Uses

func (v *TrustedWebActivityIssueDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON supports json.Unmarshaler interface

type TwaQualityEnforcementViolationType Uses

type TwaQualityEnforcementViolationType string

TwaQualityEnforcementViolationType [no description].

See: https://chromedevtools.github.io/devtools-protocol/tot/Audits#type-TwaQualityEnforcementViolationType

const (
    TwaQualityEnforcementViolationTypeKHTTPError          TwaQualityEnforcementViolationType = "kHttpError"
    TwaQualityEnforcementViolationTypeKUnavailableOffline TwaQualityEnforcementViolationType = "kUnavailableOffline"
    TwaQualityEnforcementViolationTypeKDigitalAssetLinks  TwaQualityEnforcementViolationType = "kDigitalAssetLinks"
)

TwaQualityEnforcementViolationType values.

func (TwaQualityEnforcementViolationType) MarshalEasyJSON Uses

func (t TwaQualityEnforcementViolationType) MarshalEasyJSON(out *jwriter.Writer)

MarshalEasyJSON satisfies easyjson.Marshaler.

func (TwaQualityEnforcementViolationType) MarshalJSON Uses

func (t TwaQualityEnforcementViolationType) MarshalJSON() ([]byte, error)

MarshalJSON satisfies json.Marshaler.

func (TwaQualityEnforcementViolationType) String Uses

func (t TwaQualityEnforcementViolationType) String() string

String returns the TwaQualityEnforcementViolationType as string value.

func (*TwaQualityEnforcementViolationType) UnmarshalEasyJSON Uses

func (t *TwaQualityEnforcementViolationType) UnmarshalEasyJSON(in *jlexer.Lexer)

UnmarshalEasyJSON satisfies easyjson.Unmarshaler.

func (*TwaQualityEnforcementViolationType) UnmarshalJSON Uses

func (t *TwaQualityEnforcementViolationType) UnmarshalJSON(buf []byte) error

UnmarshalJSON satisfies json.Unmarshaler.

Package audits imports 9 packages (graph) and is imported by 3 packages. Updated 2021-01-22. Refresh now. Tools for package owners.