transformers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Message Transformers

Transformers services consume events published by adapters and transform them to any other message format. They be imported as a standalone package and used for message transformation on the consumer side. Mainflux SenML transformer is an example of Transformer service for SenML messages. Mainflux writers are using a standalone SenML transformer to preprocess messages before storing them.

Documentation

Overview

Package transformers contains the domain concept definitions needed to support Mainflux transformer services functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transformer

type Transformer interface {
	// Transform Mainflux message to any other format.
	Transform(msg messaging.Message) (interface{}, error)
}

Transformer specifies API form Message transformer.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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