redis

package
v3.18.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayConnectionStatsRegistry

type GatewayConnectionStatsRegistry struct {
	Redis   *ttnredis.Client
	LockTTL time.Duration
}

GatewayConnectionStatsRegistry implements the GatewayConnectionStatsRegistry interface.

func (*GatewayConnectionStatsRegistry) Get

Get returns the connection stats for a gateway.

func (*GatewayConnectionStatsRegistry) Init added in v3.15.2

Init initializes the GatewayConnectionStatsRegistry.

func (*GatewayConnectionStatsRegistry) Set

Set sets or clears the connection stats for a gateway.

Jump to

Keyboard shortcuts

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