Documentation ¶
Overview ¶
Package routes defines routes for the app
Index ¶
Constants ¶
View Source
const APIURL string = "http://nlp-service:30000"
APIURL is the address for the nlp service
Variables ¶
This section is empty.
Functions ¶
func Export ¶
func Export(w http.ResponseWriter, r *http.Request)
Export returns all intents as a CSV
Types ¶
type HealthStatus ¶
type HealthStatus struct { ProxyAlive bool `json:"proxyAlive"` ModelAlive bool `json:"modelAlive"` }
HealthStatus represents health of ingress (this) and nlp service
Click to show internal directories.
Click to hide internal directories.