Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryHandler ¶
QueryHandler is the handler for the "/query" route
func StartRouter ¶
func StartRouter(cfg config.ServerConfig)
StartRouter starts the main route server
Types ¶
type QueryRequestPayload ¶
type QueryRequestPayload struct {
QueryText string
}
QueryRequestPayload is the payload definition for the "/query" route
Click to show internal directories.
Click to hide internal directories.