Documentation ¶
Overview ¶
Package reporting is a generic reporting framework for Content Security Policy, Network Error Reporting etc.
Index ¶
- type CrashReportBody
- type DeprecationReportBody
- func (_this *DeprecationReportBody) AnticipatedRemoval() *missingtypes.Date
- func (_this *DeprecationReportBody) ColumnNumber() *uint
- func (_this *DeprecationReportBody) Id() string
- func (_this *DeprecationReportBody) LineNumber() *uint
- func (_this *DeprecationReportBody) Message() string
- func (_this *DeprecationReportBody) SourceFile() *string
- type GenerateTestReportParameters
- type InterventionReportBody
- type Report
- type ReportBody
- type ReportingObserver
- type ReportingObserverCallback
- type ReportingObserverCallbackFunc
- type ReportingObserverOptions
- type Union
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 ¶
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 ¶
class: Report
func ReportFromJS ¶
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).
type ReportBody ¶
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 ¶
ReportingObserverCallback is a javascript function type.
Call Release() when done to release resouces allocated to this type.
func ReportingObserverCallbackToJS ¶
func ReportingObserverCallbackToJS(callback ReportingObserverCallbackFunc) *ReportingObserverCallback
type ReportingObserverCallbackFunc ¶
type ReportingObserverCallbackFunc func(reports []*Report, observer *ReportingObserver)
callback: ReportingObserverCallback
func ReportingObserverCallbackFromJS ¶
func ReportingObserverCallbackFromJS(_value js.Value) ReportingObserverCallbackFunc
type ReportingObserverOptions ¶
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