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

package performance

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

Package performance measurement ability with sub-millisecond resolution.

This includes:

* An insights into the latency of certain events triggered by user interactions.

* Detect presence of "long tasks" that monopolize the UI thread for extended periods of time and block other critical tasks from being executed - e.g. reacting to user input.

* Complete timing information on navigation of a document.

* Capture a series of key moments (First Paint, First Contentful Paint) during pageload which developers care about.

* Let a server to communicate performance metrics about the request-response cycle to the user agent. It also standardizes a JavaScript interface to enable applications to collect, process, and act on these metrics to optimize application delivery.

Index

Package Files

doc.go performance.go

Constants

const (
    TYPENAVIGATE_PerformanceNavigation    int = 0
    TYPERELOAD_PerformanceNavigation      int = 1
    TYPEBACKFORWARD_PerformanceNavigation int = 2
    TYPERESERVED_PerformanceNavigation    int = 255
)

func SupportedEntryTypes Uses

func SupportedEntryTypes() *javascript.FrozenArray

SupportedEntryTypes returning attribute 'supportedEntryTypes' with type javascript.FrozenArray (idl: FrozenArray).

type Entry Uses

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

class: PerformanceEntry

func EntryFromJS Uses

func EntryFromJS(value js.Wrapper) *Entry

EntryFromJS is casting a js.Wrapper into Entry.

func (*Entry) Duration Uses

func (_this *Entry) Duration() float64

Duration returning attribute 'duration' with type float64 (idl: double).

func (*Entry) EntryType Uses

func (_this *Entry) EntryType() string

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

func (*Entry) JSValue Uses

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

func (*Entry) Name Uses

func (_this *Entry) Name() string

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

func (*Entry) StartTime Uses

func (_this *Entry) StartTime() float64

StartTime returning attribute 'startTime' with type float64 (idl: double).

func (*Entry) ToJSON Uses

func (_this *Entry) ToJSON() (_result *javascript.Object)

type EventCounts Uses

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

class: EventCounts

func EventCountsFromJS Uses

func EventCountsFromJS(value js.Wrapper) *EventCounts

EventCountsFromJS is casting a js.Wrapper into EventCounts.

func (*EventCounts) Entries Uses

func (_this *EventCounts) Entries() (_result *EventCountsEntryIterator)

func (*EventCounts) ForEach Uses

func (_this *EventCounts) ForEach(callback *EventCountsForEach, optionalThisForCallbackArgument interface{})

func (*EventCounts) Get Uses

func (_this *EventCounts) Get(key string) (_result *uint)

func (*EventCounts) Has Uses

func (_this *EventCounts) Has(key string) (_result bool)

func (*EventCounts) JSValue Uses

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

func (*EventCounts) Keys Uses

func (_this *EventCounts) Keys() (_result *EventCountsKeyIterator)

func (*EventCounts) Size Uses

func (_this *EventCounts) Size() int

Size returning attribute 'size' with type int (idl: long).

func (*EventCounts) Values Uses

func (_this *EventCounts) Values() (_result *EventCountsValueIterator)

type EventCountsEntryIterator Uses

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

class: EventCountsEntryIterator

func EventCountsEntryIteratorFromJS Uses

func EventCountsEntryIteratorFromJS(value js.Wrapper) *EventCountsEntryIterator

EventCountsEntryIteratorFromJS is casting a js.Wrapper into EventCountsEntryIterator.

func (*EventCountsEntryIterator) JSValue Uses

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

func (*EventCountsEntryIterator) Next Uses

func (_this *EventCountsEntryIterator) Next() (_result *EventCountsEntryIteratorValue)

type EventCountsEntryIteratorValue Uses

type EventCountsEntryIteratorValue struct {
    Value []js.Value
    Done  bool
}

dictionary: EventCountsEntryIteratorValue

func EventCountsEntryIteratorValueFromJS Uses

func EventCountsEntryIteratorValueFromJS(value js.Wrapper) *EventCountsEntryIteratorValue

EventCountsEntryIteratorValueFromJS is allocating a new EventCountsEntryIteratorValue object and copy all values from input javascript object

func (*EventCountsEntryIteratorValue) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type EventCountsForEach Uses

type EventCountsForEach js.Func

EventCountsForEach is a javascript function type.

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

func EventCountsForEachToJS Uses

func EventCountsForEachToJS(callback EventCountsForEachFunc) *EventCountsForEach

type EventCountsForEachFunc Uses

type EventCountsForEachFunc func(currentValue uint, currentKey string, listObj *EventCounts)

callback: EventCountsForEach

func EventCountsForEachFromJS Uses

func EventCountsForEachFromJS(_value js.Value) EventCountsForEachFunc

type EventCountsKeyIterator Uses

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

class: EventCountsKeyIterator

func EventCountsKeyIteratorFromJS Uses

func EventCountsKeyIteratorFromJS(value js.Wrapper) *EventCountsKeyIterator

EventCountsKeyIteratorFromJS is casting a js.Wrapper into EventCountsKeyIterator.

func (*EventCountsKeyIterator) JSValue Uses

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

func (*EventCountsKeyIterator) Next Uses

func (_this *EventCountsKeyIterator) Next() (_result *EventCountsKeyIteratorValue)

type EventCountsKeyIteratorValue Uses

type EventCountsKeyIteratorValue struct {
    Value string
    Done  bool
}

dictionary: EventCountsKeyIteratorValue

func EventCountsKeyIteratorValueFromJS Uses

func EventCountsKeyIteratorValueFromJS(value js.Wrapper) *EventCountsKeyIteratorValue

EventCountsKeyIteratorValueFromJS is allocating a new EventCountsKeyIteratorValue object and copy all values from input javascript object

func (*EventCountsKeyIteratorValue) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type EventCountsValueIterator Uses

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

class: EventCountsValueIterator

func EventCountsValueIteratorFromJS Uses

func EventCountsValueIteratorFromJS(value js.Wrapper) *EventCountsValueIterator

EventCountsValueIteratorFromJS is casting a js.Wrapper into EventCountsValueIterator.

func (*EventCountsValueIterator) JSValue Uses

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

func (*EventCountsValueIterator) Next Uses

func (_this *EventCountsValueIterator) Next() (_result *EventCountsValueIteratorValue)

type EventCountsValueIteratorValue Uses

type EventCountsValueIteratorValue struct {
    Value uint
    Done  bool
}

dictionary: EventCountsValueIteratorValue

func EventCountsValueIteratorValueFromJS Uses

func EventCountsValueIteratorValueFromJS(value js.Wrapper) *EventCountsValueIteratorValue

EventCountsValueIteratorValueFromJS is allocating a new EventCountsValueIteratorValue object and copy all values from input javascript object

func (*EventCountsValueIteratorValue) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type EventTiming Uses

type EventTiming struct {
    Entry
}

class: PerformanceEventTiming

func EventTimingFromJS Uses

func EventTimingFromJS(value js.Wrapper) *EventTiming

EventTimingFromJS is casting a js.Wrapper into EventTiming.

func (*EventTiming) Cancelable Uses

func (_this *EventTiming) Cancelable() bool

Cancelable returning attribute 'cancelable' with type bool (idl: boolean).

func (*EventTiming) ProcessingEnd Uses

func (_this *EventTiming) ProcessingEnd() float64

ProcessingEnd returning attribute 'processingEnd' with type float64 (idl: double).

func (*EventTiming) ProcessingStart Uses

func (_this *EventTiming) ProcessingStart() float64

ProcessingStart returning attribute 'processingStart' with type float64 (idl: double).

type LongTaskTiming Uses

type LongTaskTiming struct {
    Entry
}

class: PerformanceLongTaskTiming

func LongTaskTimingFromJS Uses

func LongTaskTimingFromJS(value js.Wrapper) *LongTaskTiming

LongTaskTimingFromJS is casting a js.Wrapper into LongTaskTiming.

func (*LongTaskTiming) Attribution Uses

func (_this *LongTaskTiming) Attribution() *javascript.FrozenArray

Attribution returning attribute 'attribution' with type javascript.FrozenArray (idl: FrozenArray).

type Mark Uses

type Mark struct {
    Entry
}

class: PerformanceMark

func MarkFromJS Uses

func MarkFromJS(value js.Wrapper) *Mark

MarkFromJS is casting a js.Wrapper into Mark.

func NewPerformanceMark Uses

func NewPerformanceMark(markName string, markOptions *MarkOptions) (_result *Mark)

func (*Mark) Detail Uses

func (_this *Mark) Detail() js.Value

Detail returning attribute 'detail' with type Any (idl: any).

type MarkOptions Uses

type MarkOptions struct {
    Detail    js.Value
    StartTime float64
}

dictionary: PerformanceMarkOptions

func MarkOptionsFromJS Uses

func MarkOptionsFromJS(value js.Wrapper) *MarkOptions

MarkOptionsFromJS is allocating a new MarkOptions object and copy all values from input javascript object

func (*MarkOptions) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type Measure Uses

type Measure struct {
    Entry
}

class: PerformanceMeasure

func MeasureFromJS Uses

func MeasureFromJS(value js.Wrapper) *Measure

MeasureFromJS is casting a js.Wrapper into Measure.

func (*Measure) Detail Uses

func (_this *Measure) Detail() js.Value

Detail returning attribute 'detail' with type Any (idl: any).

type MeasureOptions Uses

type MeasureOptions struct {
    Detail    js.Value
    StartTime *Union
    Duration  float64
    EndTime   *Union
}

dictionary: PerformanceMeasureOptions

func MeasureOptionsFromJS Uses

func MeasureOptionsFromJS(value js.Wrapper) *MeasureOptions

MeasureOptionsFromJS is allocating a new MeasureOptions object and copy all values from input javascript object

func (*MeasureOptions) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

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

class: PerformanceNavigation

func NavigationFromJS(value js.Wrapper) *Navigation

NavigationFromJS is casting a js.Wrapper into Navigation.

func (_this *Navigation) JSValue() js.Value
func (_this *Navigation) RedirectCount() int

RedirectCount returning attribute 'redirectCount' with type int (idl: unsigned short).

func (_this *Navigation) ToJSON() (_result *javascript.Object)
func (_this *Navigation) Type() int

Type returning attribute 'type' with type int (idl: unsigned short).

type NavigationTiming struct {
    ResourceTiming
}

class: PerformanceNavigationTiming

func NavigationTimingFromJS(value js.Wrapper) *NavigationTiming

NavigationTimingFromJS is casting a js.Wrapper into NavigationTiming.

func (_this *NavigationTiming) DomComplete() float64

DomComplete returning attribute 'domComplete' with type float64 (idl: double).

func (_this *NavigationTiming) DomContentLoadedEventEnd() float64

DomContentLoadedEventEnd returning attribute 'domContentLoadedEventEnd' with type float64 (idl: double).

func (_this *NavigationTiming) DomContentLoadedEventStart() float64

DomContentLoadedEventStart returning attribute 'domContentLoadedEventStart' with type float64 (idl: double).

func (_this *NavigationTiming) DomInteractive() float64

DomInteractive returning attribute 'domInteractive' with type float64 (idl: double).

func (_this *NavigationTiming) LoadEventEnd() float64

LoadEventEnd returning attribute 'loadEventEnd' with type float64 (idl: double).

func (_this *NavigationTiming) LoadEventStart() float64

LoadEventStart returning attribute 'loadEventStart' with type float64 (idl: double).

func (_this *NavigationTiming) RedirectCount() int

RedirectCount returning attribute 'redirectCount' with type int (idl: unsigned short).

func (_this *NavigationTiming) ToJSON3() (_result *javascript.Object)
func (_this *NavigationTiming) Type() NavigationType

Type returning attribute 'type' with type NavigationType (idl: NavigationType).

func (_this *NavigationTiming) UnloadEventEnd() float64

UnloadEventEnd returning attribute 'unloadEventEnd' with type float64 (idl: double).

func (_this *NavigationTiming) UnloadEventStart() float64

UnloadEventStart returning attribute 'unloadEventStart' with type float64 (idl: double).

type NavigationType int

enum: NavigationType

const (
    NavigateNavigationType NavigationType = iota
    ReloadNavigationType
    BackForwardNavigationType
    PrerenderNavigationType
)
func NavigationTypeFromJS(value js.Value) NavigationType

NavigationTypeFromJS is converting a javascript value into a NavigationType enum value.

func (this *NavigationType) JSValue() js.Value

JSValue is converting this enum into a javascript object

func (this NavigationType) Value() string

Value is converting this into javascript defined string value

type Observer Uses

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

class: PerformanceObserver

func NewPerformanceObserver Uses

func NewPerformanceObserver(callback *ObserverCallback) (_result *Observer)

func ObserverFromJS Uses

func ObserverFromJS(value js.Wrapper) *Observer

ObserverFromJS is casting a js.Wrapper into Observer.

func (*Observer) Disconnect Uses

func (_this *Observer) Disconnect()

func (*Observer) JSValue Uses

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

func (*Observer) Observe Uses

func (_this *Observer) Observe(options *ObserverInit)

func (*Observer) TakeRecords Uses

func (_this *Observer) TakeRecords() (_result []*Entry)

type ObserverCallback Uses

type ObserverCallback js.Func

ObserverCallback is a javascript function type.

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

func ObserverCallbackToJS Uses

func ObserverCallbackToJS(callback ObserverCallbackFunc) *ObserverCallback

type ObserverCallbackFunc Uses

type ObserverCallbackFunc func(entries *ObserverEntryList, observer *Observer)

callback: PerformanceObserverCallback

func ObserverCallbackFromJS Uses

func ObserverCallbackFromJS(_value js.Value) ObserverCallbackFunc

type ObserverEntryList Uses

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

class: PerformanceObserverEntryList

func ObserverEntryListFromJS Uses

func ObserverEntryListFromJS(value js.Wrapper) *ObserverEntryList

ObserverEntryListFromJS is casting a js.Wrapper into ObserverEntryList.

func (*ObserverEntryList) GetEntries Uses

func (_this *ObserverEntryList) GetEntries() (_result []*Entry)

func (*ObserverEntryList) GetEntriesByName Uses

func (_this *ObserverEntryList) GetEntriesByName(name string, _type *string) (_result []*Entry)

func (*ObserverEntryList) GetEntriesByType Uses

func (_this *ObserverEntryList) GetEntriesByType(_type string) (_result []*Entry)

func (*ObserverEntryList) JSValue Uses

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

type ObserverInit Uses

type ObserverInit struct {
    EntryTypes []string
    Type       string
    Buffered   bool
}

dictionary: PerformanceObserverInit

func ObserverInitFromJS Uses

func ObserverInitFromJS(value js.Wrapper) *ObserverInit

ObserverInitFromJS is allocating a new ObserverInit object and copy all values from input javascript object

func (*ObserverInit) JSValue Uses

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

JSValue is allocating a new javasript object and copy all values

type Performance Uses

type Performance struct {
    domcore.EventTarget
}

class: Performance

func PerformanceFromJS Uses

func PerformanceFromJS(value js.Wrapper) *Performance

PerformanceFromJS is casting a js.Wrapper into Performance.

func (*Performance) AddEventResourceTimingBufferFull Uses

func (_this *Performance) AddEventResourceTimingBufferFull(listener func(event *domcore.Event, currentTarget *Performance)) js.Func

AddResourceTimingBufferFull is adding doing AddEventListener for 'ResourceTimingBufferFull' on target. This method is returning allocated javascript function that need to be released.

func (*Performance) ClearMarks Uses

func (_this *Performance) ClearMarks(markName *string)

func (*Performance) ClearMeasures Uses

func (_this *Performance) ClearMeasures(measureName *string)

func (*Performance) ClearResourceTimings Uses

func (_this *Performance) ClearResourceTimings()

func (*Performance) EventCounts Uses

func (_this *Performance) EventCounts() *EventCounts

EventCounts returning attribute 'eventCounts' with type EventCounts (idl: EventCounts).

func (*Performance) GetEntries Uses

func (_this *Performance) GetEntries() (_result []*Entry)

func (*Performance) GetEntriesByName Uses

func (_this *Performance) GetEntriesByName(name string, _type *string) (_result []*Entry)

func (*Performance) GetEntriesByType Uses

func (_this *Performance) GetEntriesByType(_type string) (_result []*Entry)

func (*Performance) Mark Uses

func (_this *Performance) Mark(markName string, markOptions *MarkOptions) (_result *Mark)

func (*Performance) Measure Uses

func (_this *Performance) Measure(measureName string, startOrMeasureOptions *Union, endMark *string) (_result *Measure)

func (*Performance) Navigation Uses

func (_this *Performance) Navigation() *Navigation

Navigation returning attribute 'navigation' with type Navigation (idl: PerformanceNavigation).

func (*Performance) Now Uses

func (_this *Performance) Now() (_result float64)

func (*Performance) OnResourceTimingBufferFull Uses

func (_this *Performance) OnResourceTimingBufferFull() domcore.EventHandlerFunc

OnResourceTimingBufferFull returning attribute 'onresourcetimingbufferfull' with type domcore.EventHandler (idl: EventHandlerNonNull).

func (*Performance) SetOnResourceTimingBufferFull Uses

func (_this *Performance) SetOnResourceTimingBufferFull(listener func(event *domcore.Event, currentTarget *Performance)) js.Func

SetOnResourceTimingBufferFull is assigning a function to 'onresourcetimingbufferfull'. This This method is returning allocated javascript function that need to be released.

func (*Performance) SetResourceTimingBufferSize Uses

func (_this *Performance) SetResourceTimingBufferSize(maxSize uint)

func (*Performance) TimeOrigin Uses

func (_this *Performance) TimeOrigin() float64

TimeOrigin returning attribute 'timeOrigin' with type float64 (idl: double).

func (*Performance) Timing Uses

func (_this *Performance) Timing() *Timing

Timing returning attribute 'timing' with type Timing (idl: PerformanceTiming).

func (*Performance) ToJSON Uses

func (_this *Performance) ToJSON() (_result *javascript.Object)

type PerformancePaintTiming Uses

type PerformancePaintTiming struct {
    Entry
}

class: PerformancePaintTiming

func PerformancePaintTimingFromJS Uses

func PerformancePaintTimingFromJS(value js.Wrapper) *PerformancePaintTiming

PerformancePaintTimingFromJS is casting a js.Wrapper into PerformancePaintTiming.

type ResourceTiming Uses

type ResourceTiming struct {
    Entry
}

class: PerformanceResourceTiming

func ResourceTimingFromJS Uses

func ResourceTimingFromJS(value js.Wrapper) *ResourceTiming

ResourceTimingFromJS is casting a js.Wrapper into ResourceTiming.

func (*ResourceTiming) ConnectEnd Uses

func (_this *ResourceTiming) ConnectEnd() float64

ConnectEnd returning attribute 'connectEnd' with type float64 (idl: double).

func (*ResourceTiming) ConnectStart Uses

func (_this *ResourceTiming) ConnectStart() float64

ConnectStart returning attribute 'connectStart' with type float64 (idl: double).

func (*ResourceTiming) DecodedBodySize Uses

func (_this *ResourceTiming) DecodedBodySize() int

DecodedBodySize returning attribute 'decodedBodySize' with type int (idl: unsigned long long).

func (*ResourceTiming) DomainLookupEnd Uses

func (_this *ResourceTiming) DomainLookupEnd() float64

DomainLookupEnd returning attribute 'domainLookupEnd' with type float64 (idl: double).

func (*ResourceTiming) DomainLookupStart Uses

func (_this *ResourceTiming) DomainLookupStart() float64

DomainLookupStart returning attribute 'domainLookupStart' with type float64 (idl: double).

func (*ResourceTiming) EncodedBodySize Uses

func (_this *ResourceTiming) EncodedBodySize() int

EncodedBodySize returning attribute 'encodedBodySize' with type int (idl: unsigned long long).

func (*ResourceTiming) FetchStart Uses

func (_this *ResourceTiming) FetchStart() float64

FetchStart returning attribute 'fetchStart' with type float64 (idl: double).

func (*ResourceTiming) InitiatorType Uses

func (_this *ResourceTiming) InitiatorType() string

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

func (*ResourceTiming) NextHopProtocol Uses

func (_this *ResourceTiming) NextHopProtocol() string

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

func (*ResourceTiming) RedirectEnd Uses

func (_this *ResourceTiming) RedirectEnd() float64

RedirectEnd returning attribute 'redirectEnd' with type float64 (idl: double).

func (*ResourceTiming) RedirectStart Uses

func (_this *ResourceTiming) RedirectStart() float64

RedirectStart returning attribute 'redirectStart' with type float64 (idl: double).

func (*ResourceTiming) RequestStart Uses

func (_this *ResourceTiming) RequestStart() float64

RequestStart returning attribute 'requestStart' with type float64 (idl: double).

func (*ResourceTiming) ResponseEnd Uses

func (_this *ResourceTiming) ResponseEnd() float64

ResponseEnd returning attribute 'responseEnd' with type float64 (idl: double).

func (*ResourceTiming) ResponseStart Uses

func (_this *ResourceTiming) ResponseStart() float64

ResponseStart returning attribute 'responseStart' with type float64 (idl: double).

func (*ResourceTiming) SecureConnectionStart Uses

func (_this *ResourceTiming) SecureConnectionStart() float64

SecureConnectionStart returning attribute 'secureConnectionStart' with type float64 (idl: double).

func (*ResourceTiming) ServerTiming Uses

func (_this *ResourceTiming) ServerTiming() *javascript.FrozenArray

ServerTiming returning attribute 'serverTiming' with type javascript.FrozenArray (idl: FrozenArray).

func (*ResourceTiming) ToJSON2 Uses

func (_this *ResourceTiming) ToJSON2() (_result *javascript.Object)

func (*ResourceTiming) TransferSize Uses

func (_this *ResourceTiming) TransferSize() int

TransferSize returning attribute 'transferSize' with type int (idl: unsigned long long).

func (*ResourceTiming) WorkerStart Uses

func (_this *ResourceTiming) WorkerStart() float64

WorkerStart returning attribute 'workerStart' with type float64 (idl: double).

type ServerTiming Uses

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

class: PerformanceServerTiming

func ServerTimingFromJS Uses

func ServerTimingFromJS(value js.Wrapper) *ServerTiming

ServerTimingFromJS is casting a js.Wrapper into ServerTiming.

func (*ServerTiming) Description Uses

func (_this *ServerTiming) Description() string

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

func (*ServerTiming) Duration Uses

func (_this *ServerTiming) Duration() float64

Duration returning attribute 'duration' with type float64 (idl: double).

func (*ServerTiming) JSValue Uses

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

func (*ServerTiming) Name Uses

func (_this *ServerTiming) Name() string

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

func (*ServerTiming) ToJSON Uses

func (_this *ServerTiming) ToJSON() (_result *javascript.Object)

type TaskAttributionTiming Uses

type TaskAttributionTiming struct {
    Entry
}

class: TaskAttributionTiming

func TaskAttributionTimingFromJS Uses

func TaskAttributionTimingFromJS(value js.Wrapper) *TaskAttributionTiming

TaskAttributionTimingFromJS is casting a js.Wrapper into TaskAttributionTiming.

func (*TaskAttributionTiming) ContainerId Uses

func (_this *TaskAttributionTiming) ContainerId() string

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

func (*TaskAttributionTiming) ContainerName Uses

func (_this *TaskAttributionTiming) ContainerName() string

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

func (*TaskAttributionTiming) ContainerSrc Uses

func (_this *TaskAttributionTiming) ContainerSrc() string

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

func (*TaskAttributionTiming) ContainerType Uses

func (_this *TaskAttributionTiming) ContainerType() string

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

type Timing Uses

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

class: PerformanceTiming

func TimingFromJS Uses

func TimingFromJS(value js.Wrapper) *Timing

TimingFromJS is casting a js.Wrapper into Timing.

func (*Timing) ConnectEnd Uses

func (_this *Timing) ConnectEnd() int

ConnectEnd returning attribute 'connectEnd' with type int (idl: unsigned long long).

func (*Timing) ConnectStart Uses

func (_this *Timing) ConnectStart() int

ConnectStart returning attribute 'connectStart' with type int (idl: unsigned long long).

func (*Timing) DomComplete Uses

func (_this *Timing) DomComplete() int

DomComplete returning attribute 'domComplete' with type int (idl: unsigned long long).

func (*Timing) DomContentLoadedEventEnd Uses

func (_this *Timing) DomContentLoadedEventEnd() int

DomContentLoadedEventEnd returning attribute 'domContentLoadedEventEnd' with type int (idl: unsigned long long).

func (*Timing) DomContentLoadedEventStart Uses

func (_this *Timing) DomContentLoadedEventStart() int

DomContentLoadedEventStart returning attribute 'domContentLoadedEventStart' with type int (idl: unsigned long long).

func (*Timing) DomInteractive Uses

func (_this *Timing) DomInteractive() int

DomInteractive returning attribute 'domInteractive' with type int (idl: unsigned long long).

func (*Timing) DomLoading Uses

func (_this *Timing) DomLoading() int

DomLoading returning attribute 'domLoading' with type int (idl: unsigned long long).

func (*Timing) DomainLookupEnd Uses

func (_this *Timing) DomainLookupEnd() int

DomainLookupEnd returning attribute 'domainLookupEnd' with type int (idl: unsigned long long).

func (*Timing) DomainLookupStart Uses

func (_this *Timing) DomainLookupStart() int

DomainLookupStart returning attribute 'domainLookupStart' with type int (idl: unsigned long long).

func (*Timing) FetchStart Uses

func (_this *Timing) FetchStart() int

FetchStart returning attribute 'fetchStart' with type int (idl: unsigned long long).

func (*Timing) JSValue Uses

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

func (*Timing) LoadEventEnd Uses

func (_this *Timing) LoadEventEnd() int

LoadEventEnd returning attribute 'loadEventEnd' with type int (idl: unsigned long long).

func (*Timing) LoadEventStart Uses

func (_this *Timing) LoadEventStart() int

LoadEventStart returning attribute 'loadEventStart' with type int (idl: unsigned long long).

func (*Timing) NavigationStart Uses

func (_this *Timing) NavigationStart() int

NavigationStart returning attribute 'navigationStart' with type int (idl: unsigned long long).

func (*Timing) RedirectEnd Uses

func (_this *Timing) RedirectEnd() int

RedirectEnd returning attribute 'redirectEnd' with type int (idl: unsigned long long).

func (*Timing) RedirectStart Uses

func (_this *Timing) RedirectStart() int

RedirectStart returning attribute 'redirectStart' with type int (idl: unsigned long long).

func (*Timing) RequestStart Uses

func (_this *Timing) RequestStart() int

RequestStart returning attribute 'requestStart' with type int (idl: unsigned long long).

func (*Timing) ResponseEnd Uses

func (_this *Timing) ResponseEnd() int

ResponseEnd returning attribute 'responseEnd' with type int (idl: unsigned long long).

func (*Timing) ResponseStart Uses

func (_this *Timing) ResponseStart() int

ResponseStart returning attribute 'responseStart' with type int (idl: unsigned long long).

func (*Timing) SecureConnectionStart Uses

func (_this *Timing) SecureConnectionStart() int

SecureConnectionStart returning attribute 'secureConnectionStart' with type int (idl: unsigned long long).

func (*Timing) ToJSON Uses

func (_this *Timing) ToJSON() (_result *javascript.Object)

func (*Timing) UnloadEventEnd Uses

func (_this *Timing) UnloadEventEnd() int

UnloadEventEnd returning attribute 'unloadEventEnd' with type int (idl: unsigned long long).

func (*Timing) UnloadEventStart Uses

func (_this *Timing) UnloadEventStart() int

UnloadEventStart returning attribute 'unloadEventStart' with type int (idl: unsigned long long).

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 performance imports 3 packages (graph) and is imported by 2 packages. Updated 2019-09-21. Refresh now. Tools for package owners.