redis

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datastore

type Datastore struct {
	// contains filtered or unexported fields
}

func NewRedisDatastore

func NewRedisDatastore(host string, port string) *Datastore

func (*Datastore) Connect

func (d *Datastore) Connect() bool

Connect to set Redis connection string

func (*Datastore) Disconnect

func (d *Datastore) Disconnect()

func (*Datastore) SetThingStatus

func (d *Datastore) SetThingStatus(thingID int, status bool) error

Jump to

Keyboard shortcuts

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