handlers

package
v0.0.0-...-d4c902c Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amalgam

type Amalgam struct {
	// contains filtered or unexported fields
}

func NewAmalgam

func NewAmalgam(projectDAO projects.DAO) *Amalgam

func (*Amalgam) AcceptHTTPAPIBuilder

func (a *Amalgam) AcceptHTTPAPIBuilder(builder *baseapi.HTTPAPIBuilder)

func (*Amalgam) Get

func (a *Amalgam) Get(w http.ResponseWriter, r *http.Request)

type Chat

type Chat struct {
	// contains filtered or unexported fields
}

func NewChat

func NewChat(aiChat ai.Chat) *Chat

func (*Chat) AcceptHTTPAPIBuilder

func (c *Chat) AcceptHTTPAPIBuilder(builder *baseapi.HTTPAPIBuilder)

func (*Chat) Stream

func (c *Chat) Stream(w http.ResponseWriter, r *http.Request)

type Project

type Project struct {
	// contains filtered or unexported fields
}

func NewProject

func NewProject(projectDAO projects.DAO) *Project

func (*Project) AcceptHTTPAPIBuilder

func (p *Project) AcceptHTTPAPIBuilder(builder *baseapi.HTTPAPIBuilder)

func (*Project) Create

func (p *Project) Create(w http.ResponseWriter, r *http.Request)

func (*Project) Delete

func (p *Project) Delete(w http.ResponseWriter, r *http.Request)

func (*Project) Get

func (p *Project) Get(w http.ResponseWriter, r *http.Request)

func (*Project) List

func (p *Project) List(w http.ResponseWriter, r *http.Request)

func (*Project) Update

func (p *Project) Update(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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