cable

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package cable connects to HEY's Action Cable server, so commands can be told when something changed instead of polling for it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(ctx context.Context, baseURL string, authMgr *auth.Manager, options ...actioncable.Option) (*actioncable.Client, error)

Dial connects to the cable server for a HEY base URL, authorizing the upgrade request with the same credentials the SDK sends on an API request.

func URL

func URL(baseURL string) (string, error)

URL is the cable endpoint for a base URL: https://app.hey.com becomes wss://app.hey.com/cable. HEY_CABLE_URL overrides it outright.

Types

This section is empty.

Jump to

Keyboard shortcuts

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