mocks

package
v0.0.0-...-23b421b Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceErrToken = "unavailable"

ServiceErrToken is used to simulate internal server error.

Variables

This section is empty.

Functions

func NewPublisher

func NewPublisher() mainflux.MessagePublisher

NewPublisher returns mock message publisher.

func NewThingsClient

func NewThingsClient(data map[string]string) mainflux.ThingsServiceClient

NewThingsClient returns mock implementation of things service client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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