routes

package
v0.0.0-...-b44404f Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 License: CC-BY-4.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAPI

func CreateAPI(w http.ResponseWriter, r *http.Request)

Types

type CreateAPISeed

type CreateAPISeed struct {
	Prompt string `json:"prompt"`
}

type MessageFromBackend

type MessageFromBackend struct {
	Success          bool   `json:"success"`
	ProjectReference string `json:"project_reference"`
	Chunk            string `json:"chunk"`
	Finished         bool   `json:"finished"`
}

type MessageFromFrontend

type MessageFromFrontend struct {
	Ack      bool   `json:"ack"`
	Response string `json:"response"`
}

Jump to

Keyboard shortcuts

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