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"`
}
Click to show internal directories.
Click to hide internal directories.