MCPcopy Create free account
hub / github.com/RedHatOfficial/GoCourse / mustEnqueue

Function mustEnqueue

lesson7/redis/12_queue/12_queue.go:24–32  ·  view source on GitHub ↗

mustEnqueue zajistí vložení prvku do fronty popř. pád aplikace v případě, kdy vložení není možné provést (Redis je odpojen atd.)

(context context.Context, client *redis.Client, key string, value string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 1

printQueueLengthFunction · 0.70

Tested by

no test coverage detected