reporting

package
v0.0.0-...-41cedfc Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: BSD-3-Clause Imports: 3 Imported by: 1

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.Value) *CrashReportBody

CrashReportBodyFromJS is casting a js.Value into CrashReportBody.

func CrashReportBodyFromWrapper

func CrashReportBodyFromWrapper(input core.Wrapper) *CrashReportBody

CrashReportBodyFromJS is casting from something that holds a js.Value 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.Value) *DeprecationReportBody

DeprecationReportBodyFromJS is casting a js.Value into DeprecationReportBody.

func DeprecationReportBodyFromWrapper

func DeprecationReportBodyFromWrapper(input core.Wrapper) *DeprecationReportBody

DeprecationReportBodyFromJS is casting from something that holds a js.Value 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.Value) *GenerateTestReportParameters

GenerateTestReportParametersFromJS is allocating a new GenerateTestReportParameters object and copy all values in the value javascript object.

func (*GenerateTestReportParameters) JSValue

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

JSValue is allocating a new javascript object and copy all values

type InterventionReportBody

type InterventionReportBody struct {
	ReportBody
}

class: InterventionReportBody

func InterventionReportBodyFromJS

func InterventionReportBodyFromJS(value js.Value) *InterventionReportBody

InterventionReportBodyFromJS is casting a js.Value into InterventionReportBody.

func InterventionReportBodyFromWrapper

func InterventionReportBodyFromWrapper(input core.Wrapper) *InterventionReportBody

InterventionReportBodyFromJS is casting from something that holds a js.Value 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.Value) *Report

ReportFromJS is casting a js.Value into Report.

func ReportFromWrapper

func ReportFromWrapper(input core.Wrapper) *Report

ReportFromJS is casting from something that holds a js.Value 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

JSValue returns the js.Value or js.Null() if _this is nil

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.Value) *ReportBody

ReportBodyFromJS is casting a js.Value into ReportBody.

func ReportBodyFromWrapper

func ReportBodyFromWrapper(input core.Wrapper) *ReportBody

ReportBodyFromJS is casting from something that holds a js.Value into ReportBody.

func (*ReportBody) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

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.Value) *ReportingObserver

ReportingObserverFromJS is casting a js.Value into ReportingObserver.

func ReportingObserverFromWrapper

func ReportingObserverFromWrapper(input core.Wrapper) *ReportingObserver

ReportingObserverFromJS is casting from something that holds a js.Value into ReportingObserver.

func (*ReportingObserver) Disconnect

func (_this *ReportingObserver) Disconnect()

func (*ReportingObserver) JSValue

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

JSValue returns the js.Value or js.Null() if _this is nil

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.Value) *ReportingObserverOptions

ReportingObserverOptionsFromJS is allocating a new ReportingObserverOptions object and copy all values in the value javascript object.

func (*ReportingObserverOptions) JSValue

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

JSValue is allocating a new javascript 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