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