Documentation ¶
Index ¶
- type Nats
- func (n *Nats) Close()
- func (n *Nats) Connect(url string) (err error)
- func (n *Nats) Flush() error
- func (n *Nats) Pub(subj string, data []byte) error
- func (n *Nats) Req(subj string, data []byte) ([]byte, error)
- func (n *Nats) SubASync(subject string, callback func(data []byte)) (err error)
- func (n *Nats) SubSync(subject string) ([]byte, error)
- func (n *Nats) UnSub(subject string, drained bool) (err error)
- type SubInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.