devicerepository

package
v3.18.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New creates a new PayloadEncoderDecoder that retrieves codecs from the Device Repository and uses an underlying PayloadEncoderDecoder to execute them.

Types

type Cluster

type Cluster interface {
	GetPeerConn(ctx context.Context, role ttnpb.ClusterRole, ids cluster.EntityIdentifiers) (*grpc.ClientConn, error)
	WithClusterAuth() grpc.CallOption
}

Cluster represents the interface the cluster.

type PayloadEncoderDecoderProvider added in v3.18.0

type PayloadEncoderDecoderProvider interface {
	GetPayloadEncoderDecoder(ctx context.Context, formatter ttnpb.PayloadFormatter) (messageprocessors.PayloadEncoderDecoder, error)
}

PayloadEncoderDecoderProvider provides a messageprocessors.PayloadEncoderDecoder for the provided formatter.

Jump to

Keyboard shortcuts

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