ingest

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adaptable

type Adaptable interface {
	Message() []byte
	SenderID() string
	Time() time.Time
	RequestID() string
}

Adaptable matches both protocol.Request and protocol.Reply

type NatsIngest

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

func New

func New(name string, work chan Adaptable, fw inter.Framework, logger *logrus.Entry) ([]*NatsIngest, error)

func (*NatsIngest) Connect

func (na *NatsIngest) Connect(ctx context.Context, cm inter.ConnectionManager) error

func (*NatsIngest) Receiver

func (na *NatsIngest) Receiver(ctx context.Context, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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