esbuild

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStaticRegistry

func NewStaticRegistry(meta []byte, fsys fs.FS) (asset.StaticRegistry, error)

Types

type DevWatcher

type DevWatcher struct {
	// contains filtered or unexported fields
}

func NewDevWatcher

func NewDevWatcher(name string, args []string, rootdir, staticdir, outdir, socketPath string, logger logging.Logger) (*DevWatcher, error)

func (*DevWatcher) ClientTags

func (w *DevWatcher) ClientTags() template.HTML

func (*DevWatcher) Get

func (w *DevWatcher) Get(name string) (*asset.Asset, error)

Get implements asset.Registry.

func (*DevWatcher) Open

func (w *DevWatcher) Open(name string) (fs.File, error)

Open implements fs.FS.

func (*DevWatcher) Run

func (w *DevWatcher) Run(ctx context.Context) error

func (*DevWatcher) ServeHTTP

func (w *DevWatcher) ServeHTTP(wr http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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