Directories
¶
| Path | Synopsis |
|---|---|
|
db
|
|
|
examples
|
|
|
config
command
|
|
|
db
command
|
|
|
db_mongodb
command
|
|
|
queue
command
|
|
|
queue_nats
command
|
|
|
telemetry
command
|
|
|
web
command
|
|
|
websocket
command
Package main implements a premium interactive command-line client to test and verify the high-performance clustered WebSocket service.
|
Package main implements a premium interactive command-line client to test and verify the high-performance clustered WebSocket service. |
|
websocket/echo
command
Package main illustrates how to boot and run the high-performance clustered WebSocket service using the Echo adapter.
|
Package main illustrates how to boot and run the high-performance clustered WebSocket service using the Echo adapter. |
|
websocket/fiber
command
Package main illustrates how to boot and run the high-performance clustered WebSocket service using the Fiber adapter.
|
Package main illustrates how to boot and run the high-performance clustered WebSocket service using the Fiber adapter. |
|
websocket/gin
command
Package main illustrates how to boot and run the high-performance clustered WebSocket service using the Gin adapter.
|
Package main illustrates how to boot and run the high-performance clustered WebSocket service using the Gin adapter. |
|
xerrors
command
|
|
|
Package logger provides a structured, asynchronous logger built on top of the standard library's log/slog.
|
Package logger provides a structured, asynchronous logger built on top of the standard library's log/slog. |
|
Package nats provides a production-ready NATS client wrapper built on top of github.com/nats-io/nats.go.
|
Package nats provides a production-ready NATS client wrapper built on top of github.com/nats-io/nats.go. |
|
Package queue implements a durable, Redis-Streams-backed job queue with support for delayed execution, per-type worker pools, automatic retry with exponential back-off, and a dead-letter queue (DLQ) for exhausted jobs.
|
Package queue implements a durable, Redis-Streams-backed job queue with support for delayed execution, per-type worker pools, automatic retry with exponential back-off, and a dead-letter queue (DLQ) for exhausted jobs. |
|
Package redis provides a production-ready Redis client wrapper built on top of github.com/redis/go-redis/v9.
|
Package redis provides a production-ready Redis client wrapper built on top of github.com/redis/go-redis/v9. |
|
utils
|
|
|
web
|
|
|
websocket
|
|
|
adapter/echo
Package echo provides an adapter to bridge the Echo web framework and our generic WebSocket core.
|
Package echo provides an adapter to bridge the Echo web framework and our generic WebSocket core. |
|
adapter/fiber
Package fiber provides an adapter to bridge the Fiber web framework and our generic WebSocket core.
|
Package fiber provides an adapter to bridge the Fiber web framework and our generic WebSocket core. |
|
adapter/gin
Package gin provides an adapter to bridge the Gin web framework and our generic WebSocket core.
|
Package gin provides an adapter to bridge the Gin web framework and our generic WebSocket core. |
|
core
package core contains the core WebSocket hub, connection lifecycle, and manager logic.
|
package core contains the core WebSocket hub, connection lifecycle, and manager logic. |
|
limiter
Package limiter provides rate limiting and connection limiting mechanisms to protect the server from abuse.
|
Package limiter provides rate limiting and connection limiting mechanisms to protect the server from abuse. |
|
pool
Package pool provides memory and concurrency pools to optimize resource usage under high traffic.
|
Package pool provides memory and concurrency pools to optimize resource usage under high traffic. |
|
pubsub
Package pubsub handles multi-node coordination using Redis pub/sub to route messages in a clustered environment.
|
Package pubsub handles multi-node coordination using Redis pub/sub to route messages in a clustered environment. |
Click to show internal directories.
Click to hide internal directories.