Documentation ¶
Index ¶
- type Client
- func (x *Client) Get(key string) (result map[string]interface{}, err error)
- func (x *Client) Publish(ctx context.Context, key string, payload Payload) (err error)
- func (x *Client) Remove(key string) (err error)
- func (x *Client) Set(ctx context.Context, option StreamOption) (err error)
- func (x *Client) Update(ctx context.Context, option StreamOption) (err error)
- type Payload
- type StreamOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Js nats.JetStreamContext KeyValue nats.KeyValue }
type StreamOption ¶
Click to show internal directories.
Click to hide internal directories.