webui

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

README

Getting Started

Install dependencies:

yarn install

Run the development server:

yarn dev

API Changes

Generate new swagger schema:

# Run from project root
make generate-swagger

Update WebUI generated API:

yarn generate-api

Testing

Test the WebUI with active Bacalhau nodes:

# Run from project root
make build-webui
make build-dev
bacalhau serve --compute --orchestrator -c WebUI.Enabled

Open http://localhost:8438 with your browser to see the result.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v1.5.0

type Config struct {
	APIEndpoint string `json:"APIEndpoint"`
	Listen      string `json:"Listen"`
}

type Server added in v1.5.0

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

func NewServer added in v1.5.0

func NewServer(cfg Config) (*Server, error)

func (*Server) ListenAndServe added in v1.5.0

func (s *Server) ListenAndServe(ctx context.Context) error

Jump to

Keyboard shortcuts

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