api

package
v0.0.0-...-d236baf Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	LanguageDetector *shared.LanguageDetector
}

func (*Controller) HandleGetTargetFloresCode

func (c *Controller) HandleGetTargetFloresCode(w http.ResponseWriter, r *http.Request)

Handle flores

func (*Controller) HandleHealth

func (c *Controller) HandleHealth(w http.ResponseWriter, r *http.Request)

Health check endpoint

type FloresRequest

type FloresRequest struct {
	Inputs []string `json:"inputs"`
}

type FloresResponse

type FloresResponse struct {
	Outputs []string `json:"outputs"`
}

Jump to

Keyboard shortcuts

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