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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigsRepository

func NewConfigsRepository(unknown map[string]string) bootstrap.ConfigRepository

NewConfigsRepository creates in-memory config repository.

func NewThingsService

func NewThingsService(things map[string]things.Thing, channels map[string]things.Channel, users mainflux.UsersServiceClient) things.Service

NewThingsService returns Mainflux Things service mock. Only methods used by SDK are mocked.

func NewUsersService

func NewUsersService(users map[string]string) mainflux.UsersServiceClient

NewUsersService creates mock of users service.

Types

This section is empty.

Jump to

Keyboard shortcuts

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