Documentation
¶
Index ¶
Constants ¶
View Source
const DONE_MSG = "data: [DONE]\n"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSEWriter ¶
type SSEWriter struct {
// contains filtered or unexported fields
}
SSEWriter 设计sse writer 目标可以规范化统一标准输出方法(所有sse 返回都能用),同时与业务尽可能解耦
Click to show internal directories.
Click to hide internal directories.