nsq

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Driver = "nsq"

Variables

This section is empty.

Functions

This section is empty.

Types

type EstuaryRpcQueue

type EstuaryRpcQueue struct {
	// contains filtered or unexported fields
}

func NewEstuaryRpcQueue

func NewEstuaryRpcQueue(cfg *config.Estuary, log *zap.SugaredLogger, handlerFn types.MessageHandlerFn) (*EstuaryRpcQueue, error)

func (*EstuaryRpcQueue) SendMessage

func (m *EstuaryRpcQueue) SendMessage(topic string, handle string, msg *rpcevent.Command) error

type ShuttleRpcQueue

type ShuttleRpcQueue struct {
	// contains filtered or unexported fields
}

func NewShuttleRpcQueue

func NewShuttleRpcQueue(cfg *config.Shuttle, log *zap.SugaredLogger, handle string, handlerFn types.CommandHandlerFn) (*ShuttleRpcQueue, error)

func (*ShuttleRpcQueue) SendMessage

func (m *ShuttleRpcQueue) SendMessage(topic string, msg *rpcevent.Message) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL