realtime

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RealtimeService

type RealtimeService struct {
	Market *rtds.RTDSClient
	User   *rtds.RTDSClient
}

RealtimeService manages centralized WebSocket connections (Market & User channels)

func NewRealtimeService

func NewRealtimeService(ctx context.Context) *RealtimeService

func (*RealtimeService) CloseAll

func (s *RealtimeService) CloseAll()

CloseAll closes all connections

func (*RealtimeService) ConnectAll

func (s *RealtimeService) ConnectAll() error

ConnectAll connects both market and user clients

Jump to

Keyboard shortcuts

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