Documentation
¶
Overview ¶
Package web is the read-only web UI wrapper over the core, served by bb serve. Handlers call core operations and render templ components; they hold no domain logic and never change the system: every action is shown as a command to copy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Dir is the project directory; experiment.yaml is found from here.
Dir string
// Addr is the listen address; empty means 127.0.0.1 on a free port.
// Only loopback addresses are accepted.
Addr string
// Refresh is how often live pages update; zero means 2 seconds.
Refresh time.Duration
}
Options configures a Server.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a running UI.
func New ¶
New listens on a loopback address and returns the server. Call Serve to start answering and URL for the address to open.
Source Files
¶
- architecture_templ.go
- components_templ.go
- docs.go
- docs_consul_templ.go
- docs_envoy_templ.go
- docs_gateways_templ.go
- docs_getting_started_templ.go
- docs_haproxy_templ.go
- docs_host_access_templ.go
- docs_kafka_templ.go
- docs_lb_templ.go
- docs_nginx_templ.go
- docs_opensearch_templ.go
- docs_otel_templ.go
- docs_pgbouncer_templ.go
- docs_postgres_templ.go
- docs_proxies_templ.go
- docs_redis_templ.go
- docs_s3_templ.go
- docs_sidecars_templ.go
- docs_templ.go
- docs_traefik_templ.go
- explore_templ.go
- export.go
- graph.go
- graph_flow.go
- highlight.go
- layout_templ.go
- model.go
- notes.go
- overview_templ.go
- proxies.go
- search.go
- security.go
- service_templ.go
- starters_content.go
- starters_pages.go
- starters_pages_templ.go
- stream.go
- web.go