Documentation ¶
Index ¶
- type GatewayConnectionStatsRegistry
- func (r *GatewayConnectionStatsRegistry) Get(ctx context.Context, ids ttnpb.GatewayIdentifiers) (*ttnpb.GatewayConnectionStats, error)
- func (r *GatewayConnectionStatsRegistry) Init(ctx context.Context) error
- func (r *GatewayConnectionStatsRegistry) Set(ctx context.Context, ids ttnpb.GatewayIdentifiers, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayConnectionStatsRegistry ¶
GatewayConnectionStatsRegistry implements the GatewayConnectionStatsRegistry interface.
func (*GatewayConnectionStatsRegistry) Get ¶
func (r *GatewayConnectionStatsRegistry) Get(ctx context.Context, ids ttnpb.GatewayIdentifiers) (*ttnpb.GatewayConnectionStats, error)
Get returns the connection stats for a gateway.
func (*GatewayConnectionStatsRegistry) Init ¶ added in v3.15.2
func (r *GatewayConnectionStatsRegistry) Init(ctx context.Context) error
Init initializes the GatewayConnectionStatsRegistry.
func (*GatewayConnectionStatsRegistry) Set ¶
func (r *GatewayConnectionStatsRegistry) Set(ctx context.Context, ids ttnpb.GatewayIdentifiers, stats *ttnpb.GatewayConnectionStats, paths []string) error
Set sets or clears the connection stats for a gateway.
Click to show internal directories.
Click to hide internal directories.