sse

package
v0.0.166 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadLog

func DownloadLog(c *gin.Context, containerName string, stream io.ReadCloser)

func WriteSSE

func WriteSSE(c *gin.Context, stream io.ReadCloser)

func WriteSSEChatCompletionStream added in v0.0.14

func WriteSSEChatCompletionStream(c *gin.Context, stream *openai.ChatCompletionStream)

func WriteSSEWithChannel

func WriteSSEWithChannel(c *gin.Context, logCh <-chan string, done chan struct{})

func WriteWebSocketChatCompletionStream added in v0.0.18

func WriteWebSocketChatCompletionStream(c *gin.Context, stream *openai.ChatCompletionStream)

Types

This section is empty.

Jump to

Keyboard shortcuts

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