deployermsg

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTypes

func RegisterTypes()

Types

type Archive

type Archive struct {
	Path     string
	Hash     string // Hash of the resultant js
	Standard bool
}

Archive contains information about the JS and the stripped GopherJS archive file.

type ArchiveIndex

type ArchiveIndex map[string]ArchiveIndexItem

ArchiveIndex is a list of dependencies.

type ArchiveIndexItem

type ArchiveIndexItem struct {
	Hash      string // Hash of the js file
	Unchanged bool   // Unchanged is true if the package already exists in the client cache.
}

ArchiveIndexItem is an item in ArchiveIndex. Unchanged is true if the client already has cached as specified by Cache in the Update message. Unchanged dependencies are not sent as Archive messages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL