seed: Index | Files

package service

import ""


Package Files


type Worker Uses

type Worker struct {
    Version string
    Assets  map[string]bool

Worker is a service worker.

func NewWorker Uses

func NewWorker() Worker

NewWorker returns a new service worker.

func (Worker) Render Uses

func (worker Worker) Render() []byte

Render the service worker to JS.

Package service imports 1 packages (graph) and is imported by 2 packages. Updated 2020-03-26. Refresh now. Tools for package owners.