Documentation ¶
Overview ¶
Package test contains testing utilities usable by all subpackages of networkserver excluding itself.
Index ¶
- Variables
- func HandleApplicationUplinkQueueTest(t *testing.T, q ApplicationUplinkQueue, consumerIDs []string)
- func HandleDeviceRegistryTest(t *testing.T, reg DeviceRegistry)
- func HandleDownlinkTaskQueueTest(t *testing.T, q DownlinkTaskQueue, consumerIDs []string)
- func NewRedisApplicationUplinkQueue(ctx context.Context) (ApplicationUplinkQueue, func())
- func NewRedisDeviceRegistry(ctx context.Context) (DeviceRegistry, func())
- func NewRedisDownlinkTaskQueue(ctx context.Context) (DownlinkTaskQueue, func())
- func NewRedisScheduledDownlinkMatcher(ctx context.Context) (ScheduledDownlinkMatcher, func())
- func NewRedisUplinkDeduplicator(ctx context.Context) (UplinkDeduplicator, func())
- type TaskPopFuncResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CacheTTL = (1 << 6) * test.Delay DefaultMACSettings = DefaultConfig.DefaultMACSettings.Parse() )
Functions ¶
func HandleApplicationUplinkQueueTest ¶
HandleApplicationUplinkQueueTest runs a ApplicationUplinkQueue test suite on reg.
func HandleDeviceRegistryTest ¶
HandleDeviceRegistryTest runs a DeviceRegistry test suite on reg.
func HandleDownlinkTaskQueueTest ¶
HandleDownlinkTaskQueueTest runs a DownlinkTaskQueue test suite on reg.
func NewRedisDeviceRegistry ¶
func NewRedisScheduledDownlinkMatcher ¶ added in v3.13.3
Types ¶
type TaskPopFuncResponse ¶ added in v3.11.0
Click to show internal directories.
Click to hide internal directories.