mocks

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: 8 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() messaging.Publisher

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