redis

package
v3.32.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 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 GatewayConnectionStatsRegistry

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

GatewayConnectionStatsRegistry implements the GatewayConnectionStatsRegistry interface.

func (*GatewayConnectionStatsRegistry) BatchGet added in v3.21.0

BatchGet returns the connection stats for a batch of gateways. NotFound errors indicating that the gateway is either not connected or is connected to a different cluster, are ignored.

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