Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartHttpServer ¶
func StartHttpServer(frontendConfig *types.FrontendConfig, settingsSvc *config.Service, stateDB *db.Database, builderSvc *payload_builder.Service, epbsSvc *p2p_bidder.Service, lifecycleMgr *lifecycle.Manager, chainSvc chain.Service, validatorStore *memstore.Store[phase0.BLSPubKey, *apiv1.SignedValidatorRegistration], builderAPISvc *builderapi.Server, propPrefSvc *payload_bidder.ProposerPreferencesService, valRanges *validatorranges.Resolver, revealSvc *payload_bidder.RevealService, inclusionTracker *payload_bidder.InclusionTracker, payments *payload_bidder.PaymentTracker) *api.APIHandler
func StartOverviewServer ¶
func StartOverviewServer(cfg *OverviewConfig, log logrus.FieldLogger) error
StartOverviewServer starts the overview HTTP server. It serves the overview SPA bundle and exposes a small proxy API the UI uses to poll each instance's /api/buildoor/overview endpoint (so the browser doesn't need CORS to all of them).
Types ¶
type OverviewConfig ¶
type OverviewConfig struct {
Host string // bind host (defaults to 0.0.0.0)
Port int // bind port
Hosts []string // buildoor instance URLs (one per builder)
InjectHeadHTML string // optional <head> HTML snippet (falls back to BUILDOOR_INJECT_HEAD_HTML env var)
}
OverviewConfig configures the multi-instance overview HTTP server.
type OverviewHostEntry ¶
type OverviewHostEntry struct {
ID int `json:"id"`
URL string `json:"url"`
Label string `json:"label"`
}
OverviewHostEntry is a single configured buildoor instance returned to the UI.
Click to show internal directories.
Click to hide internal directories.