Versions in this module Expand all Collapse all v1 v1.4.0 Mar 31, 2022 v1.3.0 Mar 21, 2022 Changes in this version + var ErrNotAServiceWorkerRegistration = errors.New("Object is not a ServiceWorkerRegistration object") + var ErrNotImplemented = errors.New("Browser not implemented ServiceWorkerRegistration") + func GetInterface() js.Value + type ServiceWorkerRegistration struct + func NewFromJSObject(obj js.Value) (ServiceWorkerRegistration, error) + func (s ServiceWorkerRegistration) Active() (serviceworker.ServiceWorker, error) + func (s ServiceWorkerRegistration) GetNotifications(title string, options ...map[string]interface{}) (promise.Promise, error) + func (s ServiceWorkerRegistration) Index() (int, error) + func (s ServiceWorkerRegistration) Installing() (serviceworker.ServiceWorker, error) + func (s ServiceWorkerRegistration) NavigationPreload() (navigationpreloadmanager.NavigationPreloadManager, error) + func (s ServiceWorkerRegistration) OnUpdateFound(handler func(e event.Event)) (js.Func, error) + func (s ServiceWorkerRegistration) PushManager() (pushmanager.PushManager, error) + func (s ServiceWorkerRegistration) Scope() (string, error) + func (s ServiceWorkerRegistration) ServiceWorkerRegistration_() ServiceWorkerRegistration + func (s ServiceWorkerRegistration) ShowNotification(title string, options ...map[string]interface{}) (promise.Promise, error) + func (s ServiceWorkerRegistration) Unregister() (promise.Promise, error) + func (s ServiceWorkerRegistration) Update() (promise.Promise, error) + func (s ServiceWorkerRegistration) UpdateViaCache() (promise.Promise, error) + func (s ServiceWorkerRegistration) Waiting() (serviceworker.ServiceWorker, error) + type ServiceWorkerRegistrationFrom interface + ServiceWorkerRegistration_ func() ServiceWorkerRegistration