handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChatCompletions

func ChatCompletions(client *wrapper.Client, logger *slog.Logger) http.HandlerFunc

ChatCompletions returns the handler for POST /v1/chat/completions.

func Health

func Health() http.HandlerFunc

Health returns a simple health check handler.

func Models

func Models(client *wrapper.Client, logger *slog.Logger) http.HandlerFunc

Models returns the handler for GET /v1/models.

Types

This section is empty.

Jump to

Keyboard shortcuts

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