handle

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: BSD-2-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeRoutes

func InitializeRoutes(source *workloadapi.X509Source)

InitializeRoutes initializes the HTTP routes for the web server. It sets up an HTTP handler function for the root URL ("/"). The handler uses the given X509Source to retrieve X.509 SVIDs for validating incoming connections.

Parameters:

  • source: A pointer to a `workloadapi.X509Source`, used to obtain X.509 SVIDs.

Note: The InitializeRoutes function should be called only once, usually during server initialization.

Types

This section is empty.

Jump to

Keyboard shortcuts

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