auth

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Authorize(chanID, thingID string) error
	Identify(thingKey string) (string, error)
}

Client represents Auth cache.

func New

func New(redisClient *redis.Client, thingsClient mainflux.ThingsServiceClient) Client

New returns redis channel cache implementation.

Jump to

Keyboard shortcuts

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