uiendpoints

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: MPL-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle interface {
	Configure(bundleOpts *BundleOpts)
	MountEndpoints(archetype *baseservice.Archetype, logger *slog.Logger, mux *http.ServeMux, mountOpts *apiendpoint.MountOpts) []apiendpoint.EndpointInterface
	Validate() error
}

Bundle is a collection of API endpoints and features for a riverui.Handler. A Bundle must be provided to the Handler via the `Endpoints` option of `HandlerOpts`.

Two constructors are provided:

  • `riverui.NewEndpoints` returns the open source riverui bundle
  • `riverproui.NewEndpoints` returns the Pro-specific bundle with Pro APIs and features enabled. The `riverproui` package is a separate module that requires the `riverpro` module to be installed.

type BundleOpts

type BundleOpts struct {
	JobListHideArgsByDefault bool
}

Source Files

  • bundle.go

Jump to

Keyboard shortcuts

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