Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(processor messageprocessors.PayloadProcessor, cluster Cluster) messageprocessors.PayloadEncodeDecoder
New creates a new PayloadEncodeDecoder that retrieves codecs from the Device Repository and uses an underlying PayloadEncodeDecoder to execute them.
Types ¶
type Cluster ¶
type Cluster interface { GetPeerConn(ctx context.Context, role ttnpb.ClusterRole, ids ttnpb.Identifiers) (*grpc.ClientConn, error) WithClusterAuth() grpc.CallOption }
Cluster represents the interface the cluster.
Click to show internal directories.
Click to hide internal directories.