Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetEndDeviceIdentifiersFunc ¶ added in v3.16.2
type GetEndDeviceIdentifiersFunc func(ctx context.Context, ids *ttnpb.EndDeviceIdentifiers) (*ttnpb.EndDeviceIdentifiers, error)
GetEndDeviceIdentifiersFunc retrieves the end device identifiers including the EUIs and DevAddr.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option represents an option for the gRPC frontend.
func WithGetEndDeviceIdentifiers ¶ added in v3.16.2
func WithGetEndDeviceIdentifiers(f GetEndDeviceIdentifiersFunc) Option
WithGetEndDeviceIdentifiers sets the end device identifiers retriever 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.