Documentation
¶
Overview ¶
Package clients holds go-partial's browser clients in one file system, for applications that serve, fingerprint and version them with their other assets, such as through an import map:
partial-flash.js exp/flash's client (flash.ClientScript) partial-sse.js exp/sse's client (sse.ClientScript) partial-interactions.js exp/interactions' client (interactions.ClientScript)
All lists them with the names scripts import them by, for an import map.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// Import is the module name scripts import it by, such as
// "partial-flash" for import "partial-flash".
Import string
// File is its name in FS, the package's ClientName, such as
// "partial-flash.js".
File string
}
Client is one of go-partial's browser clients: the name an import map gives it and its file in FS.
Click to show internal directories.
Click to hide internal directories.