Discover Packages
github.com/H-0-O/pusher-go
integration_tests_server
command
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jun 26, 2026
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Integration auth server
Dual-port local channel auth for integration tests (ports 3000 = mt1, 3001 = eu).
Environment
Variable
Port
Purpose
INTEGRATION_TESTS_APP_MT1_APP_ID
3000
mt1 Pusher app ID
INTEGRATION_TESTS_APP_MT1_KEY
3000
mt1 app key
INTEGRATION_TESTS_APP_MT1_SECRET
3000
mt1 secret (signs auth)
INTEGRATION_TESTS_APP_EU_APP_ID
3001
eu app ID
INTEGRATION_TESTS_APP_EU_KEY
3001
eu app key
INTEGRATION_TESTS_APP_EU_SECRET
3001
eu secret
See spec/config/integration.env.example .
Endpoints
Method
Path
Purpose
POST
/auth
Channel auth (socket_id, channel_name)
POST
/pusher/auth
Alias for examples/connect
Run
From repo root:
export INTEGRATION_TESTS_APP_MT1_APP_ID=...
export INTEGRATION_TESTS_APP_MT1_KEY=...
export INTEGRATION_TESTS_APP_MT1_SECRET=...
# optional eu vars for :3001
make integration_server
Then in another terminal:
make integration
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.