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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigsRepository

func NewConfigsRepository() bootstrap.ConfigRepository

NewConfigsRepository creates in-memory config repository.

func NewThingsService

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

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

func NewUsersService

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

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