Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StanSink ¶
type StanSink struct {
// contains filtered or unexported fields
}
StanSink is a NATS Streaming event sink to publish events into.
func (StanSink) Close ¶
func (sink StanSink) Close()
Close performs a cleanup. NATS Streaming connection will be closed.
func (StanSink) ConnLost ¶
func (sink StanSink) ConnLost() <-chan struct{}
ConnLost returns the connection lost notifier channel
type StanSrc ¶
type StanSrc struct {
// contains filtered or unexported fields
}
StanSrc is a NATS Streaming event source to receive events from.
func (StanSrc) Close ¶
func (src StanSrc) Close()
Close performs a cleanup. The NATS Streaming connection will be closed, and the NATS Streaming subscription will be closed but not unsubscribed.
func (*StanSrc) InitChannel ¶
InitChannel sets the channel that StanSrc will publish events into.
Click to show internal directories.
Click to hide internal directories.