v1

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: Apache-2.0 Imports: 12 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 HealthcheckRouter

func HealthcheckRouter() http.Handler

HealthcheckRouter sets up healthcheck route.

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 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