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 cluster.EntityIdentifiers) (*grpc.ClientConn, error)
WithClusterAuth() grpc.CallOption
}
Cluster represents the interface the cluster.
type PayloadFormatter ¶ added in v3.12.2
type PayloadFormatter interface {
GetFormatter() ttnpb.PayloadFormatter
GetFormatterParameter() string
}
Click to show internal directories.
Click to hide internal directories.