reporting

package
v0.0.0-...-f312d10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package reporting is a generic reporting framework for Content Security Policy, Network Error Reporting etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrashReportBody

type CrashReportBody struct {
	ReportBody
}

class: CrashReportBody

func CrashReportBodyFromJS

func CrashReportBodyFromJS(value js.Wrapper) *CrashReportBody

CrashReportBodyFromJS is casting a js.Wrapper into CrashReportBody.

func (*CrashReportBody) Reason

func (_this *CrashReportBody) Reason() *string

Reason returning attribute 'reason' with type string (idl: DOMString).

type DeprecationReportBody

type DeprecationReportBody struct {
	ReportBody
}

class: DeprecationReportBody

func DeprecationReportBodyFromJS

func DeprecationReportBodyFromJS(value js.Wrapper) *DeprecationReportBody

DeprecationReportBodyFromJS is casting a js.Wrapper into DeprecationReportBody.

func (*DeprecationReportBody) AnticipatedRemoval

func (_this *DeprecationReportBody) AnticipatedRemoval() *missingtypes.Date

AnticipatedRemoval returning attribute 'anticipatedRemoval' with type missingtypes.Date (idl: Date).

func (*DeprecationReportBody) ColumnNumber

func (_this *DeprecationReportBody) ColumnNumber() *uint

ColumnNumber returning attribute 'columnNumber' with type uint (idl: unsigned long).

func (*DeprecationReportBody) Id

func (_this *DeprecationReportBody) Id() string

Id returning attribute 'id' with type string (idl: DOMString).

func (*DeprecationReportBody) LineNumber

func (_this *DeprecationReportBody) LineNumber() *uint

LineNumber returning attribute 'lineNumber' with type uint (idl: unsigned long).

func (*DeprecationReportBody) Message

func (_this *DeprecationReportBody) Message() string

Message returning attribute 'message' with type string (idl: DOMString).

func (*DeprecationReportBody) SourceFile

func (_this *DeprecationReportBody) SourceFile() *string

SourceFile returning attribute 'sourceFile' with type string (idl: DOMString).

type GenerateTestReportParameters

type GenerateTestReportParameters struct {
	Message string
	Group   string
}

dictionary: GenerateTestReportParameters

func GenerateTestReportParametersFromJS

func GenerateTestReportParametersFromJS(value js.Wrapper) *GenerateTestReportParameters

GenerateTestReportParametersFromJS is allocating a new GenerateTestReportParameters object and copy all values from input javascript object

func (*GenerateTestReportParameters) JSValue

func (_this *GenerateTestReportParameters) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type InterventionReportBody

type InterventionReportBody struct {
	ReportBody
}

class: InterventionReportBody

func InterventionReportBodyFromJS

func InterventionReportBodyFromJS(value js.Wrapper) *InterventionReportBody

InterventionReportBodyFromJS is casting a js.Wrapper into InterventionReportBody.

func (*InterventionReportBody) ColumnNumber

func (_this *InterventionReportBody) ColumnNumber() *uint

ColumnNumber returning attribute 'columnNumber' with type uint (idl: unsigned long).

func (*InterventionReportBody) Id

func (_this *InterventionReportBody) Id() string

Id returning attribute 'id' with type string (idl: DOMString).

func (*InterventionReportBody) LineNumber

func (_this *InterventionReportBody) LineNumber() *uint

LineNumber returning attribute 'lineNumber' with type uint (idl: unsigned long).

func (*InterventionReportBody) Message

func (_this *InterventionReportBody) Message() string

Message returning attribute 'message' with type string (idl: DOMString).

func (*InterventionReportBody) SourceFile

func (_this *InterventionReportBody) SourceFile() *string

SourceFile returning attribute 'sourceFile' with type string (idl: DOMString).

type Report

type Report struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: Report

func ReportFromJS

func ReportFromJS(value js.Wrapper) *Report

ReportFromJS is casting a js.Wrapper into Report.

func (*Report) Body

func (_this *Report) Body() *ReportBody

Body returning attribute 'body' with type ReportBody (idl: ReportBody).

func (*Report) JSValue

func (_this *Report) JSValue() js.Value

func (*Report) Type

func (_this *Report) Type() string

Type returning attribute 'type' with type string (idl: DOMString).

func (*Report) Url

func (_this *Report) Url() string

Url returning attribute 'url' with type string (idl: DOMString).

type ReportBody

type ReportBody struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: ReportBody

func ReportBodyFromJS

func ReportBodyFromJS(value js.Wrapper) *ReportBody

ReportBodyFromJS is casting a js.Wrapper into ReportBody.

func (*ReportBody) JSValue

func (_this *ReportBody) JSValue() js.Value

type ReportingObserver

type ReportingObserver struct {
	// Value_JS holds a reference to a javascript value
	Value_JS js.Value
}

class: ReportingObserver

func NewReportingObserver

func NewReportingObserver(callback *ReportingObserverCallback, options *ReportingObserverOptions) (_result *ReportingObserver)

func ReportingObserverFromJS

func ReportingObserverFromJS(value js.Wrapper) *ReportingObserver

ReportingObserverFromJS is casting a js.Wrapper into ReportingObserver.

func (*ReportingObserver) Disconnect

func (_this *ReportingObserver) Disconnect()

func (*ReportingObserver) JSValue

func (_this *ReportingObserver) JSValue() js.Value

func (*ReportingObserver) Observe

func (_this *ReportingObserver) Observe()

func (*ReportingObserver) TakeRecords

func (_this *ReportingObserver) TakeRecords() (_result []*Report)

type ReportingObserverCallback

type ReportingObserverCallback js.Func

ReportingObserverCallback is a javascript function type.

Call Release() when done to release resouces allocated to this type.

type ReportingObserverCallbackFunc

type ReportingObserverCallbackFunc func(reports []*Report, observer *ReportingObserver)

callback: ReportingObserverCallback

func ReportingObserverCallbackFromJS

func ReportingObserverCallbackFromJS(_value js.Value) ReportingObserverCallbackFunc

type ReportingObserverOptions

type ReportingObserverOptions struct {
	Types    []string
	Buffered bool
}

dictionary: ReportingObserverOptions

func ReportingObserverOptionsFromJS

func ReportingObserverOptionsFromJS(value js.Wrapper) *ReportingObserverOptions

ReportingObserverOptionsFromJS is allocating a new ReportingObserverOptions object and copy all values from input javascript object

func (*ReportingObserverOptions) JSValue

func (_this *ReportingObserverOptions) JSValue() js.Value

JSValue is allocating a new javasript object and copy all values

type Union

type Union struct {
	Value js.Value
}

func UnionFromJS

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue

func (u *Union) JSValue() js.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL