async

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageProcessor

type MessageProcessor interface {
	Process(context.Context, []byte) error
}

MessageProcessor interface for implementing processing of messages

type MockMesssageProcessor

type MockMesssageProcessor struct {
}

MockMesssageProcessor definition for test usage

func (MockMesssageProcessor) Process

func (mmp MockMesssageProcessor) Process(ctx context.Context, msg []byte) error

Process a message for testing purposes

type Processor

type Processor interface {
	Process(context.Context) error
}

Processor interface to be implemented by components that get data from message brokers etc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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