Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EndDeviceFetcher ¶ added in v3.11.2
type EndDeviceFetcher interface {
Get(ctx context.Context, ids ttnpb.EndDeviceIdentifiers, fieldMaskPaths ...string) (*ttnpb.EndDevice, error)
}
EndDeviceFetcher retrieves end device information from identifiers.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option represents an option for the gRPC frontend.
func WithEndDeviceFetcher ¶ added in v3.11.2
func WithEndDeviceFetcher(f EndDeviceFetcher) Option
WithEndDeviceFetcher sets the EndDeviceFetcher that will be used by the gRPC frontend.
func WithMQTTConfigProvider ¶
func WithMQTTConfigProvider(provider config.MQTTConfigProvider) Option
WithMQTTConfigProvider sets the MQTT configuration provider for the gRPC frontend.
func WithPayloadProcessor ¶ added in v3.11.3
func WithPayloadProcessor(processor messageprocessors.PayloadProcessor) Option
WithPayloadProcessor sets the PayloadProcessor that will be used by the gRPC frontend.
func WithSkipPayloadCrypto ¶ added in v3.12.2
func WithSkipPayloadCrypto(f SkipPayloadCryptoFunc) Option
WithSkipPayloadCrypto sets the skip payload crypto predicate that will be used by the gRPC frontend.
type SkipPayloadCryptoFunc ¶ added in v3.12.2
SkipPayloadCryptoFunc is a function that checks if the end device should skip payload crypto operations.
Click to show internal directories.
Click to hide internal directories.