webapi: github.com/gowebapi/webapi/reporting Index | Files

package reporting

import "github.com/gowebapi/webapi/reporting"

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

Index

Package Files

doc.go reporting.go

type CrashReportBody Uses

type CrashReportBody struct {
    ReportBody
}

class: CrashReportBody

func CrashReportBodyFromJS Uses

func CrashReportBodyFromJS(value js.Wrapper) *CrashReportBody

CrashReportBodyFromJS is casting a js.Wrapper into CrashReportBody.

func (*CrashReportBody) Reason Uses

func (_this *CrashReportBody) Reason() *string

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

type DeprecationReportBody Uses

type DeprecationReportBody struct {
    ReportBody
}

class: DeprecationReportBody

func DeprecationReportBodyFromJS Uses

func DeprecationReportBodyFromJS(value js.Wrapper) *DeprecationReportBody

DeprecationReportBodyFromJS is casting a js.Wrapper into DeprecationReportBody.

func (*DeprecationReportBody) AnticipatedRemoval Uses

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

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

func (*DeprecationReportBody) ColumnNumber Uses

func (_this *DeprecationReportBody) ColumnNumber() *uint

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

func (*DeprecationReportBody) Id Uses

func (_this *DeprecationReportBody) Id() string

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

func (*DeprecationReportBody) LineNumber Uses

func (_this *DeprecationReportBody) LineNumber() *uint

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

func (*DeprecationReportBody) Message Uses

func (_this *DeprecationReportBody) Message() string

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

func (*DeprecationReportBody) SourceFile Uses

func (_this *DeprecationReportBody) SourceFile() *string

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

type GenerateTestReportParameters Uses

type GenerateTestReportParameters struct {
    Message string
    Group   string
}

dictionary: GenerateTestReportParameters

func GenerateTestReportParametersFromJS Uses

func GenerateTestReportParametersFromJS(value js.Wrapper) *GenerateTestReportParameters

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

func (*GenerateTestReportParameters) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type InterventionReportBody Uses

type InterventionReportBody struct {
    ReportBody
}

class: InterventionReportBody

func InterventionReportBodyFromJS Uses

func InterventionReportBodyFromJS(value js.Wrapper) *InterventionReportBody

InterventionReportBodyFromJS is casting a js.Wrapper into InterventionReportBody.

func (*InterventionReportBody) ColumnNumber Uses

func (_this *InterventionReportBody) ColumnNumber() *uint

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

func (*InterventionReportBody) Id Uses

func (_this *InterventionReportBody) Id() string

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

func (*InterventionReportBody) LineNumber Uses

func (_this *InterventionReportBody) LineNumber() *uint

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

func (*InterventionReportBody) Message Uses

func (_this *InterventionReportBody) Message() string

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

func (*InterventionReportBody) SourceFile Uses

func (_this *InterventionReportBody) SourceFile() *string

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

type Report Uses

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

class: Report

func ReportFromJS Uses

func ReportFromJS(value js.Wrapper) *Report

ReportFromJS is casting a js.Wrapper into Report.

func (*Report) Body Uses

func (_this *Report) Body() *ReportBody

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

func (*Report) JSValue Uses

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

func (*Report) Type Uses

func (_this *Report) Type() string

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

func (*Report) Url Uses

func (_this *Report) Url() string

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

type ReportBody Uses

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

class: ReportBody

func ReportBodyFromJS Uses

func ReportBodyFromJS(value js.Wrapper) *ReportBody

ReportBodyFromJS is casting a js.Wrapper into ReportBody.

func (*ReportBody) JSValue Uses

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

type ReportingObserver Uses

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

class: ReportingObserver

func NewReportingObserver Uses

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

func ReportingObserverFromJS Uses

func ReportingObserverFromJS(value js.Wrapper) *ReportingObserver

ReportingObserverFromJS is casting a js.Wrapper into ReportingObserver.

func (*ReportingObserver) Disconnect Uses

func (_this *ReportingObserver) Disconnect()

func (*ReportingObserver) JSValue Uses

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

func (*ReportingObserver) Observe Uses

func (_this *ReportingObserver) Observe()

func (*ReportingObserver) TakeRecords Uses

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

type ReportingObserverCallback Uses

type ReportingObserverCallback js.Func

ReportingObserverCallback is a javascript function type.

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

func ReportingObserverCallbackToJS Uses

func ReportingObserverCallbackToJS(callback ReportingObserverCallbackFunc) *ReportingObserverCallback

type ReportingObserverCallbackFunc Uses

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

callback: ReportingObserverCallback

func ReportingObserverCallbackFromJS Uses

func ReportingObserverCallbackFromJS(_value js.Value) ReportingObserverCallbackFunc

type ReportingObserverOptions Uses

type ReportingObserverOptions struct {
    Types    []string
    Buffered bool
}

dictionary: ReportingObserverOptions

func ReportingObserverOptionsFromJS Uses

func ReportingObserverOptionsFromJS(value js.Wrapper) *ReportingObserverOptions

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

func (*ReportingObserverOptions) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

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

Package reporting imports 2 packages (graph) and is imported by 1 packages. Updated 2019-09-15. Refresh now. Tools for package owners.