Documentation ¶
Index ¶
- Constants
- func CheckWebsocketEndpoint(endpoint string) bool
- func GetWebsocketEndpointCh(endpoint string) (string, string, chan struct{}, error)
- func RegisterEndpoint(endpoint string, method string, _ string) (string, chan struct{}, error)
- func RegisterWebSocketEndpoint(ctx api.StreamContext, endpoint string) (string, string, chan struct{}, error)
- func UnRegisterWebSocketEndpoint(endpoint string) error
- func UnregisterEndpoint(endpoint string)
Constants ¶
View Source
const ( TopicPrefix = "$$httppush/" WebsocketTopicPrefix = "$$websocket/" WebsocketServerDataKey = "$$websocket/server/data" )
Variables ¶
This section is empty.
Functions ¶
func CheckWebsocketEndpoint ¶
func GetWebsocketEndpointCh ¶
func RegisterEndpoint ¶
func UnregisterEndpoint ¶
func UnregisterEndpoint(endpoint string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.