Documentation
¶
Index ¶
- type WebSocketEngine
- func (e *WebSocketEngine) Close() error
- func (e *WebSocketEngine) CreateClient(accessKey string, options ...common.ClientOption) error
- func (e *WebSocketEngine) Publish(eventName string, recipients []string, payload map[string]interface{}, ...) (string, error)
- func (e *WebSocketEngine) Subscribe(eventName string, options *common.SubscribeOptions) (common.Subscription, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebSocketEngine ¶
type WebSocketEngine struct {
*common.BaseEngine
// contains filtered or unexported fields
}
func NewWebSocketEngine ¶
func (*WebSocketEngine) Close ¶
func (e *WebSocketEngine) Close() error
func (*WebSocketEngine) CreateClient ¶
func (e *WebSocketEngine) CreateClient(accessKey string, options ...common.ClientOption) error
func (*WebSocketEngine) Publish ¶
func (e *WebSocketEngine) Publish( eventName string, recipients []string, payload map[string]interface{}, metadata *common.EventMetadata, options *common.PublishOptions, ) (string, error)
func (*WebSocketEngine) Subscribe ¶
func (e *WebSocketEngine) Subscribe(eventName string, options *common.SubscribeOptions) (common.Subscription, error)
Click to show internal directories.
Click to hide internal directories.