Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NatsBroker ¶
type NatsBroker struct {
// contains filtered or unexported fields
}
func NewNatsBroker ¶
func NewNatsBroker(natsURL string, logger *zap.SugaredLogger) (*NatsBroker, error)
func (*NatsBroker) CloseConnection ¶
func (b *NatsBroker) CloseConnection()
func (*NatsBroker) SetWorker ¶
func (b *NatsBroker) SetWorker(w *bot.BotWorker)
func (*NatsBroker) StartBotSub ¶
func (b *NatsBroker) StartBotSub() error
func (*NatsBroker) StopBotSub ¶
func (b *NatsBroker) StopBotSub() error
Click to show internal directories.
Click to hide internal directories.