Versions in this module Expand all Collapse all v0 v0.1.1 Nov 23, 2026 v0.1.0 Nov 23, 2026 Changes in this version + type Client struct + func Dial(ctx context.Context, url, key string, format Format) (*Client, error) + func DialWith(ctx context.Context, url, key string, opt Options) (*Client, error) + func (c *Client) Close() error + func (c *Client) Next(ctx context.Context) (Message, error) + func (c *Client) Subscribe(ctx context.Context, markets, channels, blocks []string) error + func (c *Client) Unsubscribe(ctx context.Context, markets []string) error + type Format string + const JSON + const Probe + type Message struct + JSON map[string]any + Records []pnb.Record + Unknown int + type Options struct + Compress bool + Format Format + OnGap func(from, to time.Time) + Reconnect bool