MCPcopy Create free account
hub / github.com/Atsika/aznet / newQueueClient

Function newQueueClient

azqueue.go:281–290  ·  view source on GitHub ↗
(ep *Endpoint)

Source from the content-addressed store, hash-verified

279 // struct's pointer-scan region.
280 stallSince time.Time
281
282 connID string
283 txName, rxName string
284
285 rxSeq uint64 // next contiguous sequence expected
286}
287
288// encodeQueueMessage prepends the big-endian sequence to raw and base64-encodes
289// the result for transport in a single queue message.
290func encodeQueueMessage(seq uint64, raw []byte) string {
291 msg := make([]byte, seqHeaderSize+len(raw))
292 binary.BigEndian.PutUint64(msg[:seqHeaderSize], seq)
293 copy(msg[seqHeaderSize:], raw)

Callers 1

NewDriverMethod · 0.85

Calls 1

ServiceURLMethod · 0.80

Tested by

no test coverage detected