Discover Packages
tidbyt.dev/pixlet
server
browser
package
Version:
v0.11.3
Opens a new window with list of versions in this module.
Published: Jan 16, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Overview Index Constants Variables Functions Types type Browser NewBrowser(addr, title, watch, updateChan, l) (b) Run()
Documentation
¶
Package browser provides the ability to send WebP images to a browser over
websockets.
Browser provides a structure for serving WebP images over websockets to
a web browser.
NewBrowser sets up a browser structure. Call Run() to kick off the main loops.
Run starts the server process and runs forever in a blocking fashion. The
main routines include an update watcher to process incomming changes to the
webp and running the http handlers.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.