Documentation ¶
Overview ¶
Package sw 提供 service worker 的支持
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceWorker ¶
type ServiceWorker struct {
// contains filtered or unexported fields
}
ServiceWorker SW 功能的管理
func (*ServiceWorker) Add ¶
func (sw *ServiceWorker) Add(ver string, paths ...string)
Add 添加某一版本下的缓存文件路径。
Click to show internal directories.
Click to hide internal directories.