Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchPackage ¶
BatchPackage holds a group of JavaScript resources.
type Batcher ¶
type Batcher interface { Build(context.Context) (BatchPackage, error) Config(ctx context.Context) OptionsSetter Group(ctx context.Context, id string) BatcherGroup }
Batcher is used to build JavaScript packages.
type BatcherClient ¶
type BatcherClient interface { New(id string) (Batcher, error) Store() *maps.Cache[string, Batcher] }
BatcherClient is used to do JS batch operations.
type BatcherGroup ¶
type BatcherGroup interface { Instance(sid, iid string) OptionsSetter Runner(id string) OptionsSetter Script(id string) OptionsSetter }
BatcherGroup is a group of scripts and instances.
type OptionsSetter ¶
OptionsSetter is used to set options for a batch, script or instance.
Click to show internal directories.
Click to hide internal directories.