Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, opts *config.Options) error

Start starts a blocking HTTP file server using the provided configuration options. It supports graceful shutdown via the provided context (e.g., from ctrl.SetupSignalHandler). The Start function is meant to be run in a separate goroutine after the controller manager receives leadership (e.g., <-mgr.Elected()).

Types

This section is empty.

Jump to

Keyboard shortcuts

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