Documentation ¶
Overview ¶
*********** WARNING *********** This package provides the Live API
Deprecated: This package is deprecated. Use the listen package instead. This will be removed in a future release.
This package is frozen and no new functionality will be added. *********** WARNING ***********
Index ¶
Constants ¶
View Source
const (
PackageVersion = websocketv1.PackageVersion
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(callback LiveMessageCallback) *websocketv1.MessageRouter
New creates a MessageRouter with a user-defined callback
func NewDefaultCallbackHandler ¶
func NewDefaultCallbackHandler() websocketv1.DefaultCallbackHandler
NewDefaultCallbackHandler
Types ¶
type DefaultCallbackHandler ¶
type DefaultCallbackHandler = websocketv1.DefaultCallbackHandler
type LiveMessageCallback ¶ added in v1.4.0
type LiveMessageCallback = interfacesv1.LiveMessageCallback
Alias
type MessageRouter ¶
type MessageRouter = websocketv1.MessageRouter
Directories ¶
Path | Synopsis |
---|---|
*********** WARNING *********** This package defines interfaces for the live API
|
*********** WARNING *********** This package defines interfaces for the live API |
Click to show internal directories.
Click to hide internal directories.