esbuild

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 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(config DevWatcherConfig) (*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)

type DevWatcherConfig added in v0.0.23

type DevWatcherConfig struct {
	Name       string
	Args       []string
	RootDir    string
	StaticDir  string
	OutDir     string
	SocketPath string
	Logger     logging.Logger
}

Jump to

Keyboard shortcuts

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