Documentation ¶ Overview ¶ Package server is an operator-owned loopback service harness. It never loads credentials or chooses a cost principal from a browser request. Index ¶ func NewHandler(cfg Config) (http.Handler, error) func Serve(ctx context.Context, address string, handler http.Handler) error type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewHandler ¶ func NewHandler(cfg Config) (http.Handler, error) func Serve ¶ func Serve(ctx context.Context, address string, handler http.Handler) error Serve starts only when deliberately called by an operator's runnable program. The caller owns ctx and its cancellation; no package initialization binds ports. The operator injects NewHandler(Config) after establishing trusted credentials. Types ¶ type Config ¶ type Config struct { Client *bigquery.Client Plan bigquery.ReadPlan Execution bigquery.Execution Bounds bigquery.Bounds BrowserOrigin string } Source Files ¶ View all Source files handler.go Click to show internal directories. Click to hide internal directories.