redis

package
v3.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 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