Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
BufferSize int `json:"buffer_size"` // 消息通道缓冲区大小,默认为1
EventName string `json:"event_name"` // SSE事件名称,默认为"message"
}
Config SSE配置
Click to show internal directories.
Click to hide internal directories.