render

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DONE = "[DONE]"

Variables

This section is empty.

Functions

func Done

func Done(c *gin.Context)

func ObjectData

func ObjectData(c *gin.Context, object any) error

func StringData

func StringData(c *gin.Context, str string)

Types

type OpenAISSE

type OpenAISSE struct {
	Data string
}

func (*OpenAISSE) Render

func (r *OpenAISSE) Render(w http.ResponseWriter) error

func (*OpenAISSE) WriteContentType

func (r *OpenAISSE) WriteContentType(w http.ResponseWriter)

Jump to

Keyboard shortcuts

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