https

package
v1.37.0-20261023-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, nodeConfig *config.Node, runtime *config.ControlRuntime) (*mux.Router, error)

Start returns a router with authn/authz filters applied. The first time it is called, the router is created and a new HTTPS listener is started if the handler is nil. Subsequent calls will return the same router.

Types

type RouterFunc

type RouterFunc func(ctx context.Context, nodeConfig *config.Node) (*mux.Router, error)

RouterFunc provides a hook for components to register additional routes to a request router

Jump to

Keyboard shortcuts

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