v1

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1 contains the V1 API for ToolHive.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoveryRouter added in v0.0.41

func DiscoveryRouter() http.Handler

DiscoveryRouter creates a new router for the client discovery API.

func HealthcheckRouter

func HealthcheckRouter() http.Handler

HealthcheckRouter sets up healthcheck route.

func RegistryRouter added in v0.0.40

func RegistryRouter() http.Handler

RegistryRouter creates a new router for the registry API.

func ServerRouter

func ServerRouter(
	manager lifecycle.Manager,
	containerRuntime runtime.Runtime,
	debugMode bool,
) http.Handler

ServerRouter creates a new ServerRoutes instance.

func VersionRouter

func VersionRouter() http.Handler

VersionRouter sets up the version route.

Types

type DiscoveryRoutes added in v0.0.41

type DiscoveryRoutes struct{}

DiscoveryRoutes defines the routes for the client discovery API.

type RegistryRoutes added in v0.0.40

type RegistryRoutes struct{}

RegistryRoutes defines the routes for the registry API.

type ServerRoutes

type ServerRoutes struct {
	// contains filtered or unexported fields
}

ServerRoutes defines the routes for server management.

Jump to

Keyboard shortcuts

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