Documentation
¶
Index ¶
- func DownloadLog(c *gin.Context, opt *v1.PodLogOptions, stream io.ReadCloser)
- func WriteSSE(c *gin.Context, stream io.ReadCloser)
- func WriteSSEChatCompletionStream(c *gin.Context, stream *openai.ChatCompletionStream)
- func WriteSSEWithChannel(c *gin.Context, logCh <-chan string, done chan struct{})
- func WriteWebSocketChatCompletionStream(c *gin.Context, stream *openai.ChatCompletionStream)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadLog ¶
func DownloadLog(c *gin.Context, opt *v1.PodLogOptions, stream io.ReadCloser)
func WriteSSEChatCompletionStream ¶ added in v0.0.14
func WriteSSEWithChannel ¶
func WriteWebSocketChatCompletionStream ¶ added in v0.0.18
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.