legacy

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 2 Imported by: 1

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

New creates a MessageRouter with a user-defined callback

func NewDefaultCallbackHandler

func NewDefaultCallbackHandler() websocketv1.DefaultCallbackHandler

NewDefaultCallbackHandler

func NewWithDefault

func NewWithDefault() *websocketv1.MessageRouter

MessageRouter

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL