redis

package
v0.0.0-...-60b8695 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceRegistry

type DeviceRegistry struct {
	Redis *ttnredis.Client
}

DeviceRegistry is a Redis device registry.

func (*DeviceRegistry) Get

Get returns the end device by its identifiers.

func (*DeviceRegistry) Set

Set creates, updates or deletes the end device by its identifiers.

type LinkRegistry

type LinkRegistry struct {
	Redis *ttnredis.Client
}

LinkRegistry is a store for application links.

func (*LinkRegistry) Get

Get returns the link by the application identifiers.

func (*LinkRegistry) Range

Range ranges the links and calls the callback function, until false is returned.

func (*LinkRegistry) Set

Set creates, updates or deletes the link by the application identifiers.

Jump to

Keyboard shortcuts

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